Find the answer to your Linux question:
Results 1 to 4 of 4
hey, im pretty new to linux and this is my problem i have a directory called test and two groups called teachers and students. the teachers group has to have ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    5

    Question help with permissions without using ACLs

    hey, im pretty new to linux and this is my problem

    i have a directory called test and two groups called teachers and students.

    the teachers group has to have read write and execute permissions for the directory test, while the group students can only have read access

    and i cant use ACLs to make this happen so if anyone has any links or any information on how to accomplish this it would be greatly appreciated

    Thank you =]

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    This is a homework assignment? Homework questions are not allowed on this forum, so no one will give you an answer.

    However, I am more than happy to help explain UNIX permissions. And for those, I suggest you to use the below:

    Wikipedia has a good article on UNIX permissions:
    File system permissions - Wikipedia, the free encyclopedia

    I also wrote a post on this topic that I feel is pretty good at:
    http://www.linuxforums.org/forum/lin...tml#post363021

    Hopefully these will help.
    DISTRO=Arch
    Registered Linux User #388732

  3. #3
    Just Joined!
    Join Date
    Feb 2008
    Posts
    5
    i wasnt asking for someone to do homework for me, i was asking for someone to help me manage users and groups with out using ACLs because everywhere i look for help on it i cant find anything

  4. #4
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by jturner2121 View Post
    i wasnt asking for someone to do homework for me, i was asking for someone to help me manage users and groups with out using ACLs because everywhere i look for help on it i cant find anything
    If that is the case, and since you perfectly understand that you need two groups, and the permissions for each of them, you just need to know that you can use chown to change the owner and group for a file, chmod to adjust the permissions, and usermod to add a given user to a group.

    You don't need anything else. Read the man pages for those tools and if you can't understand anything, you can come back and ask a more specific question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...