You are not logged in.
Pages: 1
Here is the lines in my /etc/fstab related to samba shares.
# Some Windows/SAMBA shares
//BAO-QNAP500GB/USB\040Disk\0401 /mnt/eBooks smbfs workgroup=BAO-HOME,username=xxxxxx,ip=192.168.2.4,password=xxxxxx,noauto,noatime,user,rw 0 0
I am able to mount samba share as a user (not root) after
chmod u+s /usr/bin/smbmnt
chmod u+s /usr/bin/smbumount
by
mount /mnt/eBooks
However, I am unable to umount as a user:
[ning@HP-m8100y ~]$ umount /mnt/eBooks
umount: /mnt/eBooks mount disagrees with the fstab
On the other hand, this could work:
smbumount /mnt/eBooks
Can somone tell me what I did wrong?
Offline
Looks like its something to do with fstab though I don't know what never having mounted shares though fstab myself. I would try removing the fstab entry and just using smbmount to mount shares, thats the way I've always done it and never have problems with mounting/unmounting.
smbmount //IP Address/source folder /destination folder
Offline
Pages: 1