LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to find how to edit a group permissions (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-find-how-to-edit-a-group-permissions-843710/)

KMAN888 11-11-2010 11:38 AM

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 ?

udaman 11-11-2010 11:45 AM

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.

DavidMcCann 11-11-2010 04:15 PM

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.


All times are GMT -5. The time now is 05:51 AM.