Kitz Forum

Computer Software => Linux => Topic started by: tickmike on March 22, 2008, 11:55:20 AM

Title: User Folder permissions.
Post by: tickmike on March 22, 2008, 11:55:20 AM
Having a few lots problems when I moved ' /home' folders back on my new os install, all the folders inside the users folders are 'Root'
I could change each one back from the root user but I will still be doing them until next week !.
On the folder tree /home is user=root   group=root,
and the /home/user  have the user= user   group=user,    which are both correct !.
Looking on another computer the only 'root' folder in the users folder was the short cut to /tmp.

Using 'chown' in a terminal I cannot see how on mass I can change all the users files back to the users permissions than root.

Any help please.

Ps any advice about the 'advance permissions' tab, "access permissions".... when you right click on a folder-->permissions-->advance permissions.

EDIT. I have changed the users folders to user= user   group=user,     IT's all the hidden . files have the wrong permissions.
Title: Re: User Folder permissions.
Post by: roseway on March 22, 2008, 01:06:25 PM
In a terminal, type the following as root:

chown -R username:usergroup /home/username

Obviously replace 'username' and 'usergroup' with the actual names, and run the command separately for each user.

For an explanation of set UID and set GID see http://en.wikipedia.org/wiki/Setuid . The sticky bit is described in http://en.wikipedia.org/wiki/Sticky_bit .
Title: Re: User Folder permissions.
Post by: tickmike on March 22, 2008, 01:37:40 PM
Magic  :)
Thanks Eric.
You put that so it made sense.   ;D
Title: Re: User Folder permissions.
Post by: roseway on March 22, 2008, 01:46:18 PM
:)
Title: Re: User Folder permissions.
Post by: UncleUB on March 22, 2008, 02:01:08 PM
Even though I don't use Linux I follow these post with great interest.The conclusion I have come to is Eric is brilliant at answering peoples questions and sosting problems out.Perhaps You should be known as Emperor Penguin instead of Roseway.
Well done. :)
PS,If I ever use Linux you'll never get rid of me. :)
Title: Re: User Folder permissions.
Post by: kitz on March 22, 2008, 02:44:09 PM
>> Eric is brilliant at answering peoples questions

I wont disagree with you there UB  :)
Title: Re: User Folder permissions.
Post by: Floydoid on March 22, 2008, 02:46:22 PM
Eric may be the whiz with Linux, but he's rubbish at windows.  :P
Title: Re: User Folder permissions.
Post by: roseway on March 22, 2008, 03:50:45 PM
Thank you for bringing everyone down to earth Floydy :lol:
Title: Re: User Folder permissions.
Post by: kitz on March 22, 2008, 04:28:11 PM
Eric may be the whiz with Linux, but he's rubbish at windows.  :P


lol - and truth be told eric probably doesnt care - he loves the penguin too much :D
Title: Re: User Folder permissions.
Post by: Floydoid on March 22, 2008, 04:56:41 PM
Yeah I know, I was just joshing. :)
Title: Re: User Folder permissions.
Post by: roseway on March 22, 2008, 11:04:34 PM
>> lol - and truth be told eric probably doesnt care - he loves the penguin too much :D

You're right :)

[attachment deleted by admin]
Title: Re: User Folder permissions.
Post by: kitz on March 23, 2008, 12:10:38 AM
 :lol: