Marc Chamberlin said the following on 02/10/2011 01:19 PM: to say Anton. I CANNOT execute
a mount command EXCEPT as ROOT! Trying to execute a mount command as me, user marc, is NOT allowed. I get told promptly that the mount command is ONLY allowed by ROOT if I try. Therefore, since there was no uid parameter supplied in the command I gave, the uid of the mount point will be ROOT, that is the default behavior of the mount command, and I showed you exactly what I executed. So what in the world are you saying here?
I'm trying to show that if you let HAL - which runs as root - mount the decvice, it will be mounted as root. Its odd, but I can mount my USB devices as 'anton'. Its back to the MAN pages. In this case the MOUNT man page, which explains how non-root users can mount things: The non-superuser mounts. Normally, only the superuser can mount file systems. However, when fstab contains the user option on a line, anybody can mount the corresponding system. A little later it goes on to say For more details, see fstab(5). Which gets back to my point about reading other man pages well :-) Further, it says The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. ... The group option is similar, with the restriction that the user must be member of the group of the special file. I expect you'll find /dev/sdb1 is root.floppy. If it was marc.users there would be no problem. Well, part of the "it works for me" was to alter the entry in /etc/fstab in accordance with the man page. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org