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@ip-10-114-85-19:/var/log/nova$ sudo nova-compute --logfile_mode=0644
ubuntu@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@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@ip-10-114-85-19:/var/log/nova$ sudo nova-compute --logfile_mode=0600
ubuntu@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@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.
--
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs