-   Mandriva (
-   -   group owner etc (

MI3GTO 02-27-2005 03:23 PM

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


ls -al

drwx------ 3 501 george 12 Feb 27 17:03 Desktop/


what should be owner george group george and what is 501????

AltF4 02-27-2005 06:50 PM

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.

amosf 02-27-2005 08:14 PM

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

AltF4 02-27-2005 08:26 PM

Sorry - didn't see the Mandrake forum, was answering from the start page of

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 08:12 PM.