[Bug 862969] [NEW] --logfile_mode flag does not properly set logfile permissions
Launchpad Bug Tracker
862969 at bugs.launchpad.net
Fri Sep 30 04:35:10 UTC 2011
You have been subscribed to a public bug:
The default logfile_mode of 0644 is successfully enforced, however,
using the flag to set permissions of logs to anything else results in
incorrect permissions:
ubuntu at ip-10-114-85-19:/var/log/nova$ sudo nova-compute --logfile_mode=0644
ubuntu at ip-10-114-85-19:/var/log/nova$ ls -lh
total 4.0K
--w----r-T 1 root root 1.1K 2011-09-30 03:40 nova-compute.log
ubuntu at ip-10-114-85-19:/var/log/nova$ stat nova-compute.log | grep Access
Access: (1204/--w----r-T) Uid: ( 0/ root) Gid: ( 0/ root)
ubuntu at ip-10-114-85-19:/var/log/nova$ sudo nova-compute --logfile_mode=0600
ubuntu at ip-10-114-85-19:/var/log/nova$ ls -lh
total 4.0K
---x-wx--T 1 root root 1.6K 2011-09-30 03:41 nova-compute.log
ubuntu at ip-10-114-85-19:/var/log/nova$ stat nova-compute.log | grep Access
Access: (1130/---x-wx--T) Uid: ( 0/ root) Gid: ( 0/ root)
** Affects: nova
Importance: Undecided
Status: New
** Affects: nova (Ubuntu)
Importance: Undecided
Status: New
--
--logfile_mode flag does not properly set logfile permissions
https://bugs.launchpad.net/bugs/862969
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu.
More information about the Ubuntu-server-bugs
mailing list