LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-20-2010, 10:31 PM   #1
ionrivera
Member
 
Registered: May 2010
Distribution: Debian, RHEL, AIX, Solaris, HP-UX
Posts: 61

Rep: Reputation: 4
Thumbs down I messed up the file permissions in my /home/user? how will I restore it?


Silly thing is that err! I typed
# chmod -R 644 /home/user

when I logged in.. I cant boot to my xforce desktop.
.xsession permission problem

Last edited by ionrivera; 10-20-2010 at 10:33 PM.
 
Old 10-20-2010, 11:25 PM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Hi,

As a root do chmod -R 755 /home/user

and also do chown -R user.user /home/user
 
Old 10-21-2010, 01:03 AM   #3
ionrivera
Member
 
Registered: May 2010
Distribution: Debian, RHEL, AIX, Solaris, HP-UX
Posts: 61

Original Poster
Rep: Reputation: 4
programs like openoffice, firefox etc.. don't open permission problem
 
Old 10-21-2010, 01:09 AM   #4
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
can you do ls -ld /home/user and let us know the owenr

also make sure you didnt run chmod command on /
 
Old 10-21-2010, 01:13 AM   #5
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
hi,
post #2 should have resolved your issue AFAIK.
One more option we have is create a new user and everything should be resolved. Also we would be able to check if the issue is with this user only or comes up with every user we create.
BTW: asking op to chown was a very good idea and you had foresight
 
Old 10-21-2010, 01:44 AM   #6
ionrivera
Member
 
Registered: May 2010
Distribution: Debian, RHEL, AIX, Solaris, HP-UX
Posts: 61

Original Poster
Rep: Reputation: 4
I changed all the directory inside my /home/user/ permissions to 755

and my files to 644 and

some hidden (.dbus, .gconf .kde etc...) files and folders to 700.

Thanks! problem solved!

Last edited by ionrivera; 10-21-2010 at 01:50 AM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Totally messed up the user permissions.*want to cry* hottdogg Slackware 6 08-31-2007 05:00 AM
Totally messed up the user permissions.*want to cry* hottdogg Slackware 2 08-30-2007 02:13 PM
X hangs at startup, permissions for normal user messed up. elgatofilo Slackware 5 12-20-2004 08:48 PM
restore user permissions fisheromen1031 Linux - Newbie 1 07-22-2004 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03: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
Open Source Consulting | Domain Registration