Update permission of ceph-init.log
Currently, /var/log/ceph/ceph-init.log have permission 644. To comply with the CIS benchmark requirements, the permissions should be set to 640. This change updates the permissions of /var/log/ceph/ceph-init.log to 640. Test Plan: PASS: Build ISO and deploy AIO-SX. PASS: Verify that permission of /var/log/ceph/ceph-init.log file is set to 640. Story: 2011241 Task: 51365 Change-Id: I50fc1e0ac5b779a27402d27dc4f6a295dce7d0a9 Signed-off-by: Jagatguru Prasad Mishra <jagatguruprasad.mishra@windriver.com>
This commit is contained in:
parent
1ce2debeb3
commit
cd396fc557
@ -33,6 +33,9 @@ start ()
|
||||
if [ ! -f ${CEPH_FILE} ]; then
|
||||
touch ${CEPH_FILE}
|
||||
fi
|
||||
|
||||
#restrict log file access
|
||||
chmod 0640 ${LOGFILE}
|
||||
}
|
||||
|
||||
stop ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user