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 ...
- 02-09-2008 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 5
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 =]
- 02-09-2008 #2
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
- 02-09-2008 #3Just 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
- 02-09-2008 #4Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
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.


Reply With Quote
