[wellylug] user mounting smbfs, fstab
Dale Smith
dalees at paradise.net.nz
Mon May 2 23:10:31 NZST 2005
Hi all,
I'm currently running Ubuntu64 and having an issue when trying to set up
a few smbfs shares to mount easily via fstab.
So, i've made this entry in fstab:
//kaylee/mp3 /mnt/mp3 smbfs ro,user,noauto 0 0
which should be ok from what i can see (and copied from the cdrom one ;-))
/mnt/mp3 exists, is owned by root, but has 777 permissions.
when i try to 'mount /mnt/mp3' user my normal username i get this message:
$ mount /mnt/mp3
Password:
cannot mount on /mnt/mp3: Operation not permitted
smbmnt failed: 1
initially i had a different error, so i've set the suid bit on
/usr/bin/smbmnt as it told me to.
are there other options that i need to set in fstab to get this working
properly?
uid, gid? (i've tried these, set to 1000 (my username), no change)
oh, it works fine with 'sudo mount /mnt/mp3' - but shouldn't it also
allow normal users to?
thanks for any help you can provide,
Dale
More information about the wellylug
mailing list