On 05/30/14 06:13 AM, Melvin Jones wrote:
The default permissions on the /var/log/Xorg.n.log file are 644. I need all my
log files to have perms of 640 or more restrictive. Umask is set to 077 in all
init files and I've tried adding the umask to the /usr/sbin/gdm script which
runs gdm-binary which starts up Xorg. However, I have not been able to get the
permissions to change on the log or the logs in /var/log/gdm which are opened by
the Xorg process.
Is there any way to change the permissions on these log files?
Sorry, but looking in the code, the Xserver has a hardcoded umask(022)
call right before creating the log file in hw/xfree86/common/xf86Init.c .
--
-Alan Coopersmith- [email protected]
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s