LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-30-2007, 09:34 AM   #1
apocolpse
Member
 
Registered: Oct 2004
Distribution: Fedora Core 4
Posts: 91

Rep: Reputation: 15
reload user/group settings


I'm currently running core 6 on the 2.6.20 kernel, on gnome 2.16.3. I used the gui in system->administration->users and groups to add a group, and place users in that group. I gave the group permissions, rws,on the foler.
Now when i go to the command line, to edit a file in the folder i says permission denied

the group is there:

$ cat /etc/group | grep code
code:x:501hes

but when i do and id I get..
$ id
uid=500(phes) gid=500(phes) groups=500(phes)

i'm guessing i need to reload user/group settings or something. how do I do that w/o rebooting ?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-31-2007, 08:22 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Logout and log-in again, and it should show you in the new group. I just did it and it worked here.

Be sure to chown and chmod any existing files in the directory, otherwise they might retain their original permissions/ownership. Unless you took care of that with a recursive (-R) chown/chmod on the directory. "ls -l" will list everything along with the owner/group/permissions.
 
Old 04-05-2007, 06:40 PM   #3
apocolpse
Member
 
Registered: Oct 2004
Distribution: Fedora Core 4
Posts: 91

Original Poster
Rep: Reputation: 15
Can you do this without rebooting ?
 
Old 04-07-2007, 08:35 PM   #4
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Yes.

I have KDE as my desktop environment. Just click the KMenu button, Logout, and End Current Session. It will log you out, restart X, and let you log-in again.

I'm sure GNOME and all the other GUIs have a similar process.
 
Old 04-10-2007, 08:53 PM   #5
apocolpse
Member
 
Registered: Oct 2004
Distribution: Fedora Core 4
Posts: 91

Original Poster
Rep: Reputation: 15
ah .... ok thanks guys. What about doing this without ending the current session ... ??
 
Old 07-08-2007, 08:06 AM   #6
dggoldst
LQ Newbie
 
Registered: Mar 2006
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by apocolpse
ah .... ok thanks guys. What about doing this without ending the current session ... ??
I'd be interested to know if this is possible as well!
 
Old 09-20-2007, 04:49 PM   #7
dggoldst
LQ Newbie
 
Registered: Mar 2006
Posts: 12

Rep: Reputation: 0
anybody know?
 
Old 09-20-2007, 09:15 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
man newgrp
 
2 members found this post helpful.
Old 06-27-2011, 06:02 AM   #9
ajarmoniuk
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
only way I'm aware of:

su - $USER
 
  


Reply

Tags
group, permissions, user



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
How to list user in Linux box, add an user to a group! steady_lfcfan Linux - Newbie 12 01-27-2013 01:14 PM
how to load /etc/group settings without exiting session? fobster Linux - Newbie 4 09-14-2006 08:26 PM
Force group membership reload? humbletech99 Linux - General 2 06-03-2006 04:02 AM
Tomcat reload servlet is very slow, but reload jsp is fast and good? gsbarry Programming 2 04-28-2006 09:34 PM
User and Group Admin: How to tell Who is in What group? Akhran Linux - Newbie 1 11-12-2005 11:16 PM

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

All times are GMT -5. The time now is 08:32 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