I have a problem (maybe with ntfs-3g) for unmount an extern disk mapped in fstab.
I tryed to share a ntfs usbdisk plugged on my linux mint system with a windows 7 pc.
Samba wa allready istalled so I just modify the config with a gui tool (system-config-samba) more user friendly.
After changed my workgroup add folder to share and relaunch samba service
- Code: Select all
sudo service smbd restart
sudo service nmbd restart
So I first try to share with samba conf my disk on the auto mount point but I couldn't open it on the windows side.
I tryed share my home folder and it was working perfectly.
I read few thread about why I cannot share the auto mount disk and I find a good documentation here (sorry it's french) : http://michel-eudes.net/blog/index.php? ... xterne-usb
I had in fstab
- Code: Select all
UUID=9C64D17064D14DA0 /media/hddExtern ntfs-3g rw,suid,dev,exec,auto,user,async 0 0
The hdd is monted in /media/hddExtern and I can share my file between the 2 pc and I can write in the hdd but
I can't unmount the disk by gui or by command
- Code: Select all
eject /media/hddExtern
gui return
Failed to eject medium; one or more volumes on the medium are busy.
Even if I stop to share the drive with samba
And I can't access to the disk with the shortcut hddExtern visible in nautilus I have an error
Unable to mount hddExtern
Mount is denied because setuid and setgid root ntfs-3g is insecure with the
external FUSE library. Either remove the setuid/setgid bit from the binary
or rebuild NTFS-3G with integrated FUSE support and make it setuid root.
Please see more information at
http://tuxera.com/community/ntfs-3g-faq/#unprivileged
In nautilus i can access to the other shortcut with the harDrive name (the automount point) and it's correctly going in the folder /media/hddExtern


