group owner etc
In 10.1 what group should the files and dirs belong to for your home directory?
I have a lot of files belong to group 501 should they not belong to george as below user = george /home/george ls -al drwx------ 3 501 george 12 Feb 27 17:03 Desktop/ etc what should be owner george group george and what is 501???? |
a) what is "10.1" ? There is no "linux 10.1" i know about :-)
b) 501 is the GID (Group ID), the numeric representation of group membership. if you want it to have a name just add a group with GID 501 (by tools or by editing /etc/group) OR by "chgrp" (man chgrp) on your fiiles/directories. c) correct group permissions depend on your needs - do you want group members to be able to read/write/delete your files ? read "man chmod" for more details. |
a) Since this is the mandrake forum we'll assume mandrake 10.1 :)
the user and groups would normally be your username... You could change them to that with a chgrp -R or whatever... Not sure why they got the 501 |
Sorry - didn't see the Mandrake forum, was answering from the start page of lq.org
you get the numeric group id if a) you add the "-n" option to ls b) the numeric group ID of the file is not found in /etc/group (or other pam-configured sources) |
All times are GMT -5. The time now is 10:02 AM. |