LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I assign different permission to different group? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-assign-different-permission-to-different-group-4175523234/)

nghoangquang 10-24-2014 10:01 AM

How do I assign different permission to different group?
 
If I have three group, A B and C and a directory called Test and I want group A to be able to read/write and execute, group B to only be able to Write and Execute and group C only to be able to read. How would I do this in the command line? Any help is appreciated.

jdkaye 10-24-2014 10:29 AM

If this is homework please read the LQ Rules. For your convenience I repeat one here:
Quote:

Do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and searches) and we'll do our best to help. Keep in mind that your instructor might also be an LQ member.
You can have a look at this site and then post your attempt at a command. We will be glad to help you if you have problems.
jdk

nghoangquang 10-28-2014 10:04 AM

No this is not a homework question. It is for work but thanks for the information.

suicidaleggroll 10-28-2014 10:28 AM

You can't do this with standard permissions, you'll need to use ACLs.

chrism01 10-29-2014 02:30 AM

Note also that for a dir, x=search, not execute; that's only for files.

As above, it sounds like you'll need ACLs


All times are GMT -5. The time now is 09:02 AM.