Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 02-27-2005, 04:23 PM   #1
Registered: Dec 2004
Location: Belfast Northern Ireland
Posts: 44

Rep: Reputation: 15
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????
Old 02-27-2005, 07:50 PM   #2
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
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.
Old 02-27-2005, 09:14 PM   #3
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
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
Old 02-27-2005, 09:26 PM   #4
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
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)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
folder owner/group weird curos Slackware - Installation 1 07-18-2005 08:13 AM
File owner and File group locked - root deiphage Linux - Hardware 5 02-05-2005 02:30 PM
sudo changes the owner and the group of some my files and now I can't enter in X Ali79 Linux - Software 5 12-10-2004 02:01 PM
How to change owner and group in a directory to include subdir and all files Lakota Linux - General 2 07-15-2004 10:35 AM
Group as owner instead of a user dtournas Linux - General 1 09-11-2003 11:13 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration