LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permission Access Denied (https://www.linuxquestions.org/questions/linux-newbie-8/permission-access-denied-788134/)

jec25 02-09-2010 11:52 PM

Permission Access Denied
 
I was trying to open a log file /var/log/XFree86.0.log and was access denied. I was login as root. Can someone please explain why is this? Thanks.

eckirchn 02-09-2010 11:55 PM

Additional information Requested
 
Quote:

Originally Posted by jec25 (Post 3858574)
I was trying to open a log file /var/log/XFree86.0.log and was access denied. I was login as root. Can someone please explain why is this? Thanks.

Can you post the results of:

ls -la /var/log/X*


My results:

-rw-r--r-- 1 root root 14051 2010-02-09 18:45 /var/log/Xorg.0.log
-rw-r--r-- 1 root root 13978 2010-02-07 16:00 /var/log/Xorg.0.log.old
-rw-r--r-- 1 root root 13560 2010-02-08 18:44 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 14469 2010-02-06 13:22 /var/log/Xorg.1.log.old
-rw-r--r-- 1 root root 13560 2010-02-09 18:45 /var/log/Xorg.2.log
-rw-r--r-- 1 root root 13978 2010-02-06 13:23 /var/log/Xorg.2.log.old
-rw-r--r-- 1 root root 2018 2010-01-27 19:35 /var/log/Xorg.3.log
-rw-r--r-- 1 root root 7172 2010-01-14 23:32 /var/log/Xorg.3.log.old
-rw-r--r-- 1 root root 7172 2010-01-14 23:32 /var/log/Xorg.4.log
-rw-r--r-- 1 root root 7172 2010-01-14 23:32 /var/log/Xorg.4.log.old
-rw-r--r-- 1 root root 7172 2010-01-14 23:32 /var/log/Xorg.5.log
-rw-r--r-- 1 root root 7172 2010-01-14 23:32 /var/log/Xorg.5.log.old


Floyd

worm5252 02-10-2010 12:03 AM

Also post the output of whoami

chrism01 02-10-2010 01:22 AM

Which distro & version have you got? XFree86 was superseded by Xorg some yrs ago ...

jec25 02-10-2010 06:11 PM

echkirchn wrote:
Quote:

ls -la /var/log/X*
No such file or directory

worm5252 wrote:
Quote:

Also post the output of whoami
root

chrism01 wrote:
Quote:

Which distro & version have you got? XFree86 was superseded by Xorg some yrs ago ...
I'm using SuSE 9.0, I know it's old but the computer is being use with other computer with the same linux system.


All times are GMT -5. The time now is 05:58 AM.