LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-27-2005, 03:23 PM   #1
MI3GTO
Member
 
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

/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????
 
Old 02-27-2005, 06:50 PM   #2
AltF4
Member
 
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, 08:14 PM   #3
amosf
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, 08:26 PM   #4
AltF4
Member
 
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 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)
 
  


Reply


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 07:13 AM
File owner and File group locked - root deiphage Linux - Hardware 5 02-05-2005 01: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 01:01 PM
How to change owner and group in a directory to include subdir and all files Lakota Linux - General 2 07-15-2004 09:35 AM
Group as owner instead of a user dtournas Linux - General 1 09-11-2003 10:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:51 PM.

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