I have Ubuntu 9.10 on an Acer Aspire One (to play and learn Linux). I installed an Apache 2 web server
and that works fine. However, I want to be able to see files on an external USB drive.
The USB drive mounts easily and correctly at bootup or by pluging it in. However, the mount permissions have read/execute off for group/other by default and this prevents the web server from seeing the files.
I've found several discussions on the web related to this (although generally a year old!) and the suggestion is to create a mount in the /etc/fstab file which includes a umask to allow others to see the mount.
I try this but get an error about the fuseblk access. It recommends doing a chmod 4755 on the ntfs-3g. Well, that didn't work. I ge tanother error saying that the suid is wrong when it tries to mount. (I verified that the chmod was performed and it set some sticky bit).
1) is this the best way to approach this? I'm a single user on my laptop. Is there an easier way - example, just get the automount to use the right umask?If I ask the system what the auto mount used (which works), I get this:
2) ok, if I need to actually mess with fstab file, then ideas on settings?
/dev/sdb1 on /media/FreeAgent Drive type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,b lksize=4096)
I've tried including those various options in fstab, with no success. I have the UUID (and it does get the mount command to see my request via fstab). I created the mount point in /media as well.
The main error I get when I'm close is:
Unable to mount FreeAgent Drive. Error mounting: mount exited with exit code 1: helper failed with:
Unprivileged user can not mount NTFS block devices using the external FUSE
library. Either mount the volume as root, or rebuild NTFS-3G with integrated
FUSE support and make it setuid root. Please see more information at
http://ntfs-3g.org/support.html#unprivilegedMust I rebuild the NTFS-3G? If that's the trick - how does one do it? The link above says to do the chmod which didn't work. That wasn't "rebuilding" either.