Hi lcwilson,
Welcome to LQ!!!
When you add a user to sudoers and provide the user access to certain commands then it means that it will run those commands with assigned privilege. So basically if you configure say user1 to run a command with root privilege in /etc/sudoers then that user is authorized to run those command on any directory / service (if configured).
Quote:
I only want 'user1' to be able to change permissions on files in /mnt/apps1/ and its subdirectories.
|
As you said that you want user1 to be able to change permissions on files in /mnt/apps1 and its subdirectories I would say an easier way would be to make user1 owner of that directory. Adding that user in /etc/sudoers will give him unecessary privileges.
You can run the following command to make user1 owner of /mnt/apps1 and its subdirectories:
Code:
chown -R user1 /mnt/apps1
In this way he will be able to change permission of that directory and its subdirectories.