Default Permissions on /var/log/Xorg.n.log
Alan Coopersmith
alan.coopersmith at oracle.com
Fri May 30 10:04:24 PDT 2014
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- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg
mailing list