Eric at Lucii.org on 6 Dec 2011 19:23:14 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] going crazy with external drive


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm running Ubuntu 10.04 LTS.

Previously, I could connect my external drive (a Seagage - formatted with NTFS [ugh]) and it would be mounted.
Since my backup program (CrashPlan) uses this drive I wanted it to show up as the same device name every time it was mounted.
I modified my /etc/fstab:

UUID=D244DBAA44DB859F   /media/BACKUP01         ntfs-3g defaults,nosuid,nodev,locale=en_US.utf8 0       0

This, or some variation thereof, worked for a while but recently I'm getting this message when the drive is connected:

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#unprivileged

I have done chmod +s to these files:

- -rwsr-sr-x 1 root root 47320 2010-03-25 10:32 /bin/ntfs-3g
- -rwsr-sr-x 1 root root  5528 2010-03-25 10:32 /bin/ntfs-3g.probe
- -rwsr-sr-x 1 root root 50764 2010-03-25 10:32 /bin/ntfs-3g.secaudit
- -rwsr-sr-x 1 root root 13776 2010-03-25 10:32 /bin/ntfs-3g.usermap
- -rwsr-sr-x 1 root root 38924 2010-03-06 22:01 /usr/bin/ntfsmount

Mount is already setuid:

- -rwsr-xr-x 1 root root 72188 2011-01-20 14:54 /bin/mount

Now I just get this error:

Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sdc1 on /media/BACKUP01

ntfs-3g gripes about the setuid bit:

 /bin/ntfs-3g --help
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://ntfs-3g.org/support.html#unprivileged

I *think* that it should have FUSE support:

/bin/ntfs-3g --help

ntfs-3g 2010.3.6 external FUSE 28 - Third Generation NTFS Driver
                Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2010 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), remove_hiberfile, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=, syncio.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

So, what am I missing to get this device to automatically mount where I want it?  Am I even on the right track?
Should I just make this a Linux-only drive by reformatting it as ext3?
That would mean I'll have to back up the wife's XP box on a separate drive.

Eric
- -- 
#  Eric Lucas
#
#                "Oh, I have slipped the surly bond of earth
#                 And danced the skies on laughter-silvered wings...
#                                        -- John Gillespie Magee Jr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7e3AYACgkQ2sGpvXQrZ/4GpwCg8MPV3LfyeXCoL6BKyW0IxsYn
CxsAn04cYmLabUer8+LRgmRgvylOlATq
=+k7E
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug