mirror of
https://github.com/ceph/ceph
synced 2025-01-16 07:52:29 +00:00
Merge PR #39953 into master
* refs/pull/39953/head: debian/ceph-common.postinst: do not chown cephadm log dirs Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
f64bbb1b5b
4
debian/ceph-common.postinst
vendored
4
debian/ceph-common.postinst
vendored
@ -78,7 +78,9 @@ case "$1" in
|
||||
fi
|
||||
if ! dpkg-statoverride --list /var/log/ceph >/dev/null
|
||||
then
|
||||
chown -R $SERVER_USER:$SERVER_GROUP /var/log/ceph
|
||||
# take care not to touch cephadm log subdirs
|
||||
chown $SERVER_USER:$SERVER_GROUP /var/log/ceph
|
||||
chown $SERVER_USER:$SERVER_GROUP /var/log/ceph/*.log* || true
|
||||
# members of group ceph can log here, but cannot remove
|
||||
# others' files. non-members cannot read any logs.
|
||||
chmod u=rwx,g=rwxs,o=t /var/log/ceph
|
||||
|
Loading…
Reference in New Issue
Block a user