[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cifs mounting by non-root user



Clive Menzies wrote:
On (03/03/05 20:48), Rhys Hardwick wrote:

Hey guys,

I want to be able to mount a cifs share via fstab, but I want users to be able to do it. I read somewhere that mount.cifs has to be installed setuid, but am not sure how to do that.

Is this the correct way to go about it? If so, could someone tell me how to do it?

//server/share /smb/share   cifs
credentials=/home/user/.smb_pass,uid=user,gid=group,file_mode=0660,dir_mode=0770    0	0

choose your user/group.

Regards

Clive

That still only allows root to actually mount the volume. I want users to actually be able to mount it.

Cheers

--
 Rhys Hardwick

 -----------------------------------------------------
| rhys@rhyshardwick.co.uk  |  www.rhyshardwick.co.uk  |
| PGP-id - 0x0EACC0E8      |                          |
|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|
|       Windows: Just another pain in the glass.      |
 *****************************************************



Reply to: