0

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

2 Answers 2

3

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.

1

For complex file/folder permissions scenarios, consider the use of ACLs. Otherwise I second the answer of sebikul.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .