Skip to main content

Thread: Problem: USB Drive, mount, permissions, Apache


hi,

have ubuntu 9.10 on acer aspire 1 (to play , learn linux). installed apache 2 web server
, works fine. however, want able see files on external usb drive.

usb drive mounts , correctly @ bootup or pluging in. however, mount permissions have read/execute off group/other default , prevents web server seeing files.

i've found several discussions on web related (although year old!) , suggestion create mount in /etc/fstab file includes umask allow others see mount.

try error fuseblk access. recommends doing chmod 4755 on ntfs-3g. well, didn't work. ge tanother error saying suid wrong when tries mount. (i verified chmod performed , set sticky bit).

questions:

1) best way approach this? i'm single user on laptop. there easier way - example, automount use right umask?

2) ok, if need mess fstab file, ideas on settings?
if ask system auto mount used (which works), this:

/dev/sdb1 on /media/freeagent drive type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,b lksize=4096)

i've tried including various options in fstab, no success. have uuid (and mount command see request via fstab). created mount point in /media well.

main error when i'm close is:
unable mount freeagent drive. error mounting: mount exited exit code 1: helper failed with:
unprivileged user can not mount ntfs block devices using external fuse
library. either mount volume root, or rebuild ntfs-3g integrated
fuse support , make setuid root. please see more information at
http://ntfs-3g.org/support.html#unprivileged
must rebuild ntfs-3g? if that's trick - how 1 it? link above says chmod didn't work. wasn't "rebuilding" either.

ideas?

thanks,
tim

this link has relevant information, again refers how rebuild ntfs-3g, explains how novice goes doing remedy problem.

https://bugs.launchpad.net/ubuntu/+s...3g/+bug/205081

tim


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [ubuntu] Problem: USB Drive, mount, permissions, Apache


Ubuntu

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'