Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sudo directory permissions

Status
Not open for further replies.

funstur

Technical User
Feb 15, 2001
66
GB
Hi there!!!

I have enabled specific users to run the mount and unmount commands on specific system. The dilemma I have is that the directory permissions are set to root:root -rwx------ Has anybody an idea of how to set the permission either by changing the ownership or making the permissions rw-rw-rw- ?

Cheers in advance :)

%snr SNRRND = (root) NOPASSWD: MOUNT,UMOUNT

 
Many thanks, I think I will script the specific chmod process.
 
well... you need to set permission/owner just once (AFAIK)

-or- you can mount the filesystem with a predetermined owner, permission.. man mount for details, specially -o option.

Cheers.

Chacal, Inc.[wavey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top