Kitz Forum
Computer Software => Linux => Topic started 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.
-
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 .
-
Magic :)
Thanks Eric.
You put that so it made sense. ;D
-
:)
-
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. :)
-
>> Eric is brilliant at answering peoples questions
I wont disagree with you there UB :)
-
Eric may be the whiz with Linux, but he's rubbish at windows. :P
-
Thank you for bringing everyone down to earth Floydy :lol:
-
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
-
Yeah I know, I was just joshing. :)
-
>> lol - and truth be told eric probably doesnt care - he loves the penguin too much :D
You're right :)
[attachment deleted by admin]
-
:lol: