Default Permissions on /var/log/Xorg.n.log
melvinj at gmail.com
Fri May 30 10:12:14 PDT 2014
Ok, thanks for the info. I'll find a workaround to change the perms at
startup. Since Xorg is running as root changing the perms on that file
shouldn't cause any problems from what I can tell. I've changed them
manually and it didn't cause any issues.
On May 30, 2014 1:04 PM, "Alan Coopersmith" <alan.coopersmith at oracle.com>
> 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
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xorg