Changing permissions of 'user' & 'user/home' from terminal

Asked by John Brooks on 2008-07-20

i was a window user now using UBUNTU (daily updated) and had accidentally changed file permission of user and its sub directories and now this is a great trouble to me as i am a begginer for ubuntu please help me.
the sytem after restarting after looging in gives message '.../.ICEauthority' file cannot be writeable (some kind of like that) please reprort as a GNOME bug. and then comes back to the login window.

my precious data is in the drive and i cant format it just want to start ubuntu to its previous condition.

i know this is because i changed the file permission so please their is any way to get back those permission please tell me in the way as a window user. so that its easy for me to do.

Question information

English Edit question
Ubuntu gnome-terminal Edit question
No assignee Edit question
Solved by:
Shane Fagan
Last query:
Last reply:
Revision history for this message
Best Shane Fagan (shanepatrickfagan) said :

sudo nautilus Hit the box to run in terminal
Find the folder you want to change the permissions of hit properties and then permissions
But you shouldnt need to do that anyway there is a reason that root has permissions in the major folders

Shane Fagan

Revision history for this message
Connor Imes (ckimes) said :

I wouldn't change permissions on folders in the directory hierarchy that is not in your home folder. Most of this stuff is owned by root for security and accessibility purposes. If you want to make a new folder in /usr, you should create it as root, then chown it for your username, or set read/write permissions on it for World.
What folder are you trying to create? That is not a normal place to create directories.

Revision history for this message
Shane Fagan (shanepatrickfagan) said :

Well put Connor

Revision history for this message
John Brooks (frogging101) said :

Thanks shane fagan, that solved my question.

Revision history for this message
John Brooks (frogging101) said :

And also, I know lots about computers so I usually know what I'm doing. Don't worry.

Revision history for this message
thekonofman (thekonofman) said :

Though somehow you don't know how to access as root?

Not meaning to insult... just be careful... many times an innocent move will have devastating consequences...