View previous topic :: View next topic |
Author |
Message |
blackrax n00b
Joined: 06 Mar 2004 Posts: 9
|
Posted: Sun Mar 14, 2004 8:47 pm Post subject: file permissions change at boot - /var/log/messages |
|
|
gentoo comrades,
i normally keep a tail on /var/log7messages -- the default permission is -rw------ root:root; i manually have to set them to -rw-r---- root:adm, but after reboot the file permission reverts back to the original - how do i overcome this? is there any /etc/ file where i can configure permissions on files and folders (short of adding it to rc.conf)?
cheers,
//blackrax |
|
Back to top |
|
|
grimshaw Tux's lil' helper
Joined: 07 Aug 2003 Posts: 101 Location: Greensboro, NC 27403, USA, Earth
|
Posted: Sun Mar 14, 2004 9:22 pm Post subject: |
|
|
The option you are looking with syslog-ng is...
perm(0640) owner("root") group("adm")
(http://www.campin.net/syslog-ng/faq.html#perms)
If you are using another syslogger, look through the docs on how to change the UMASK or FILE MASK.
- John _________________ All that is necessary for the triumph of evil is that good men do nothing.
-- Edmund Burke (1729-1797) |
|
Back to top |
|
|
blackrax n00b
Joined: 06 Mar 2004 Posts: 9
|
Posted: Sun Mar 14, 2004 10:41 pm Post subject: |
|
|
ah - wonderful; i skimmed through the syslog-ng and syslog-ng.conf man pages, but didn't find anything there.
thanks for the reply,
//blackrax |
|
Back to top |
|
|
|