LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-07-2007, 11:26 AM   #1
06jer
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
davesmith
Member
 
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

Code:
chown root.root /var/log
chmod 755 /var/log
 
Old 09-07-2007, 12:18 PM   #3
06jer
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.
 
  


Reply


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


All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration