LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 01-28-2010, 12:03 PM   #1
zcrxsir88
Member
 
Registered: Oct 2004
Location: Cardiff-by-the-Sea, CA
Distribution: Fedora X & RHEL X.X
Posts: 51

Rep: Reputation: 18
/var/log/Xorg Permissions Reset During Re-Boot


I was curious if anyone has addressed this issue before. I have set the permissions to /var/log/Xorg.0.log as follows:

Code:
-rw-r----- 1 root root 00000 Jan 00 00:00 /var/log/Xorg.0.log
I have done a lsof and the file is being opened by root. I have set Roots umask to 0077, yet after a reboot the file permissions are changed to:

Code:
-rw-r--r-- 1 root root 00000 Jan 00 00:00 /var/log/Xorg.0.log
Does anyone have any ideas what I could do to prevent this from happening? I know I could set a cron job to change the permissions, but I would prefer to fix the problem at the source.

Any help would be appreciated.
 
Old 01-28-2010, 02:18 PM   #2
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 671

Rep: Reputation: 94
maybe they got changed in boot scripts /etc/rc.d (as a whole log files or only X log file) or X itself changes them.

use console login at the boot time (give kernel parameter 3) and check the log file again.
 
  


Reply

Tags
permissions, security


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setting file permissions for file /var/log/Xorg.0.log mfb Linux - Security 1 07-07-2009 01:41 PM
FX5600 Geforce - FC9 - black screen, no (EE) errors in /var/log/Xorg.0.log?? boyd98 Linux - Hardware 1 06-17-2008 08:56 PM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
Hard drive udma-33 reset problem in var/log/messages v00d00101 Linux - Kernel 3 02-14-2008 09:45 PM
Why?? reset high speed USB device using ehci_hcd in /var/log/message steve457 Linux - Software 0 07-12-2007 05:58 PM


All times are GMT -5. The time now is 08:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration