Unable to mount a samba parittion by normal user

Toby Kelsey toby_kelsey at ntlworld.com
Thu Jan 26 13:47:01 UTC 2006


Sasha Tsykin wrote:
> Luca Manganelli wrote:
> 
>> Hi, I am not able to mount a samba partition by normal user, but only
>> with sudo:
>>
>> trap at acer:~$ mount /mnt/katia/
>> cannot mount on /mnt/katia: Operation not permitted
>> smbmnt failed: 1
>>
>> the entry on /etc/fstab is:
>>
>> //katia/D   /mnt/katia  smbfs   rw,users,noauto,rw,uid=1000 1   1
>>
>>   
> 
> you can never use the mount command as a normal user. It is nothing to
> do with samba.

That is incorrect.  If the fstab entry contains the 'user' option, anyone can mount the partition.
Luca, your entry has a typo 'users'. Change the entry to:

  /katia/D   /mnt/katia  smbfs   rw,user,noauto,rw,uid=1000 1   1

and try again.

Toby




More information about the ubuntu-users mailing list