Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User's Group Fails to Show Up for Group Assignment

Status
Not open for further replies.

gwinn7

Programmer
Feb 10, 2001
1,004
US
Still a novice at Linux, patience is required...

If I have a folder that I want to assign to the group "users", can someone explain what would prevent this group from displaying as an option. Here is what I am trying to do:

1. Right-click a folder
2. Select 'Show Properties'
3. Click the 'Permissions' tab.
4. For the group drop-down, try to select 'users'.

On a server I just setup, the users group shows up fine. But on this other machine, it does not. The group exists, but is not on the list to select.

Any ideas?

Gary
gwinn7
 
Open the /etc/group file and look for an entry similar to

users:x:100:

if you see that then you can manually assign the group through a command type:

"chgrp users filename/folder"

If you need to change group ownership for a folder and you need all the contents of that folder with the same group you need to type:

"chgrp -r GROUP FILENAME"

where GROUP and FILENAME are you need to fill that in yourself.

The -r means change all the stuff inside the folder recursively.

You can type "man chgrp" and it explains what all the tags are.

Bill
 
Hi,

Might be worth checking the groups files (/etc/group and /etc/gshadow) have no errors. Do as root :

# /usr/sbin/grpck

If is just gives another command prompt without saying anything thats normal.

When you say you right click presumably that means in the nautilus file manager in Redhat or maybe the kde equivalent. The list of groups that you'll be shown is restricted to those of which the logged on user is a member. You'd have to do it as root to get the full list. For example, open a 'terminal' window then do :

$ su (enter root password as prompted)
# nautilus &
# exit
$ exit

Hope this helps
 
Thanks! I will try these!

Gary
gwinn7
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top