must be superuser to use mount

Joel Means jmeans at physics.tamu.edu
Wed Sep 20 12:28:02 PDT 2006


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

Vladimir A. Pavlov wrote:
> On Wednesday 20 September 2006 22:08, Dan Nicholson wrote:
>> On 9/20/06, Vladimir A. Pavlov <pv4 at bk.ru> wrote:
>>>> /dev/sda1 /mnt/flash vfat  noauto,users,umask=000 0 0
>>>>
> 
> $ grep cdrom /etc/fstab 
> /dev/hdc      /mnt/cdrom      iso9660         noauto,user,ro       0 0
> $ ls -l /dev/hdc 
> brw-rw---- 1 root cdrom 22, 0 Sep 21  2006 /dev/hdc
> $ ls -l /bin/mount
> -rws--x--x 1 root root 91492 Mar 15  2006 /bin/mount
> $ ide
> uid=1000(pv) gid=100(users) groups=100(users)
> 
> And I do can mount /mnt/cdrom though I don't belong to cdrom group.
> 

It is because you have "users" in the sda1 line and "user" in the hdc
line.  "user" is the correct parameter.  User/group permissions don't
change your ability to mount, as far as I know.
Joel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFEZZC0tbb2uIZyCURApX1AJ4oAoH6OygWNQvULm4e6w9IxST21QCeMxur
RFauMWr6rftVfY9xEPzp+Vw=
=2Lzc
-----END PGP SIGNATURE-----



More information about the blfs-support mailing list