[Wylug-help] Mounting an NTFS drive as user

Towle, William william.towle at echostar.com
Thu Aug 3 10:58:07 BST 2006


> rachel at doris:~$ mount /home/rachel/hdb
> mount: must be superuser to use mount

  I've managed to reproduce that exact error message now - it's due to the permissions on 'mount' itself. Presumably you have this:
	[williamt at williamt-ccws:6] ~ $ ls -l /bin/mount
	-rwxr-xr-x  1 root root 83592 Nov 24  2005 /bin/mount
because you see this:
	[williamt at williamt-ccws:6] ~ $ mount -t iso9660 /dev/hda /media/cdrom
	mount: must be superuser to use mount


  To match the systems here, you should (read "might consider") 'chmod -s /bin/mount' as root, at which point you'll see:

  With 'mount' longhand, failure:
	[williamt at williamt-ccws:6] ~ $ ls -l /bin/mount
	-rwsr-sr-x  1 root root 83592 Nov 24  2005 /bin/mount
	[williamt at williamt-ccws:6] ~ $ mount -t iso9660 /dev/hda /media/cdrom
	mount: only root can do that

  ...but with 'mount' shorthand (bad example, but it *is* getting further):
	[williamt at williamt-ccws:6] ~ $ mount /dev/hda
	mount: No medium found

  If want to do this and you use any system management tools, find out how they configure the security level; they may be picky about you making this change manually.

Cheers,
  Wills.



More information about the Wylug-help mailing list