File permissions
Newbie question:
Let's say we have a folder called: /var/admin/ and only admin has access to it. If we have another folder called /var/admin/user/ how can we give access to a specific user to the "user" folder only? |
Can you please explain bit more?
what permission set on /var/admin and what permission you want to set on /var/admin/user directory ? |
Let's say we have two users: admin and user
We want "admin" to have (rwx) access to /var/admin/ directory and "user" to have (rwx) access to /var/admin/user/ directory only. So the "user" cannot access /var/admin/ folder. |
Quote:
|
If i didnt get it wrong. You mean to say, There are 2 folders on the same machine /path/to/admin and /path/to/admin/user. The user should have no rights on the admin folder??
I think the easiest way to restrict access to the user is by not providing him sudo access. Then you can look at this link , for more info regarding giving permissions http://www.yolinux.com/TUTORIALS/Lin...ingGroups.html |
All times are GMT -5. The time now is 04:46 PM. |