LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-11-2010, 12:38 PM   #1
KMAN888
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
Trying to find how to edit a group permissions


Im trying to change a group to have read write and execute permissions on everything in the system through command prompt, some people told me to edit the /etc/group file but i don't have a file that exists there under that name, but the group does already exist, i just don't know where its located. Anyone have a clue where i can check or what to do ?
 
Old 11-11-2010, 12:45 PM   #2
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187

Rep: Reputation: 39
Which Linux distro are you using? From a terminal window try the command:
Code:
vigr
It will bring you into and editor, usually vim, that will open the group file. You can edit it there.
 
Old 11-11-2010, 05:15 PM   #3
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,166

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
If I've got it right, you want all members of a certain group to have full access to certain directories? If that's the case, then what I'd do is become root and

assign the directories and their contents to the group:
chgrp -R groupname /directory

give read, write, and execute permisions:
chmod -R g+rwx /directory

Read the man pages first: the only guarantee I offer is that you get to keep the pieces if anything breaks.
 
  


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
Member of group root, but root group permissions don't apply? aeternitas Linux - Software 7 04-22-2010 12:06 AM
Secondary group users need to change the file permissions of primary group files? sunnybmv Linux - Newbie 3 12-10-2009 05:57 PM
permissions not recognizing group or assigned users to group blckspder Linux - Server 1 07-28-2008 11:32 AM
Setting group on file creation/edit deiussum Linux - Security 4 06-17-2005 05:50 PM
group permissions once Linux - Security 21 06-01-2002 04:57 PM


All times are GMT -5. The time now is 12:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration