Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-07-2007, 11:26 AM   #1
LQ Newbie
Registered: Sep 2006
Location: Oswego
Distribution: Crux
Posts: 10

Rep: Reputation: 0
File Permissions for /usr

I think I messed up my file permissions for /usr. What I did was I transferred ownership of /usr (using -R) from root to the users. I then added myself (my day-to-day account with sudo) to users.

The command /usr/bin/startxfce4 worked before but now it doesn't. When I try to start Xfce it gives me the following error:

fatal server error:
cannot move log file "/var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old"

What are these permissions supposed to be?

I run Crux 2.3.

Right now, eveything in /usr is owned by root:users
Old 09-07-2007, 11:55 AM   #2
Registered: Sep 2007
Location: Near Dallas, TX
Distribution: Debain and Ubuntu
Posts: 35

Rep: Reputation: 15
/var/log should be 755 owned by root:root

chown root.root /var/log
chmod 755 /var/log
Old 09-07-2007, 12:18 PM   #3
LQ Newbie
Registered: Sep 2006
Location: Oswego
Distribution: Crux
Posts: 10

Original Poster
Rep: Reputation: 0
/var/log is owned by root as well as everything in it. It is also 755.

Before I messed with the permissions I was able to log into Xfce with my user account "jeremy." All I did was give the account sudo privileges and access to /usr/bin/startxfce4. I then changed ownership of /usr to the group "users" and put "jeremy" in that group so I could simply use everything in /usr with out using sudo. That is what gave me this problem.

One thing I forgot to mention earlier is that I tried to change the ownership of /usr (back?) to "root" but that didn't solve the problem.

Last edited by 06jer; 09-07-2007 at 12:19 PM.


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
Strange file size and permissions under /usr/sbin phyrster Linux - Security 6 05-31-2006 09:26 AM
Strange file size and permissions in /usr/sbin phyrster Debian 2 05-28-2006 05:53 AM
usr v.s. admin auto file permissions me99 Linux - Security 4 03-19-2004 01:12 PM
/usr/bin file permissions enlight1 Linux - Newbie 2 07-31-2003 09:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:39 PM.

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