is it possible to give sudo privileges to a user for a specific folder? e.g i want the user 'dads' to have sudo access for creating/deleting files in a folder 'virgo' in /opt
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
No, i'm pretty sure you can't, but you can let other users read/write in that folder by changing it's permissions. Another approach is to create a group, set that group as the owner of the folder, and then add all the users you want to that group. |
|||
|
|
|
For complex file/folder permissions scenarios, consider the use of ACLs. Otherwise I second the answer of sebikul. |
|||
|
|