I am unable to mount the floppy drive (/dev/fd0) to /floppy as a regular user. In /etc/fstab, I have this line: /dev/fd0 /floppy auto noauto,owner 0 0 I have added myself to the group 'disk'. I have made the /floppy folder rewriteable by group disk. However, when I type 'mount /floppy' or 'mount /dev/fd0' as a regular user, I get an error saying 'mount: must be superuser to mount'. How can I fix this? Thanks. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Sat, 06 May 2000, you wrote:
I am unable to mount the floppy drive (/dev/fd0) to /floppy as a regular user. In /etc/fstab, I have this line: /dev/fd0 /floppy auto noauto,owner 0 0 I have added myself to the group 'disk'. I have made the /floppy folder rewriteable by group disk. However, when I type 'mount /floppy' or 'mount /dev/fd0' as a regular user, I get an error saying 'mount: must be superuser to mount'. How can I fix this? Thanks.
/dev/fd0 /floppy auto noauto,user 0 0 -- Bob F EMail BobFi@SWBell.net A Truly Wise Man Never Plays Leapfrog With A Unicorn... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Sat, 6 May 2000, Prasanna Krishnan wrote: pk> I am unable to mount the floppy drive (/dev/fd0) to /floppy as a regular pk> user. In /etc/fstab, I have this line: pk> /dev/fd0 /floppy auto noauto,owner 0 pk> 0 Change the noauto,owner to noauto,user the previous requires you to be the owner of the file/device, in this case /dev/fd0 which is owned by root. It's a synonym to the nouser option, see man 8 mount nouser Forbid an ordinary (i.e., non-root) user to mount the file system. This is the default. <snip from manpage> The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. <end snip> pk> I have added myself to the group 'disk'. I have made the /floppy folder pk> rewriteable by group disk. However, when I type 'mount /floppy' or pk> 'mount /dev/fd0' as a regular user, I get an error saying 'mount: must pk> be superuser to mount'. How can I fix this? Thanks. pk> pk> pk> -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v6.3+ - Kernel 2.2.14 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I tried your solution but it did not work. I don't know why. I checked the SuSE online database and they had the same solution as you did. Could the problem be the fact that I am using secure file permissions (YaST setting)? "S.Toms" wrote:
On Sat, 6 May 2000, Prasanna Krishnan wrote:
pk> I am unable to mount the floppy drive (/dev/fd0) to /floppy as a regular pk> user. In /etc/fstab, I have this line: pk> /dev/fd0 /floppy auto noauto,owner 0 pk> 0
Change the noauto,owner to noauto,user the previous requires you to be the owner of the file/device, in this case /dev/fd0 which is owned by root. It's a synonym to the nouser option, see man 8 mount
nouser Forbid an ordinary (i.e., non-root) user to mount the file system. This is the default.
<snip from manpage> The owner option is similar to the user option, with the restriction that the user must be the owner of the special file.
<end snip>
pk> I have added myself to the group 'disk'. I have made the /floppy folder pk> rewriteable by group disk. However, when I type 'mount /floppy' or pk> 'mount /dev/fd0' as a regular user, I get an error saying 'mount: must pk> be superuser to mount'. How can I fix this? Thanks. pk> pk> pk>
-- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v6.3+ - Kernel 2.2.14
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Sat, May 06 2000 at 19:33 -0400, Prasanna Krishnan wrote:
I tried your solution but it did not work. I don't know why. I checked the SuSE online database and they had the same solution as you did. Could the problem be the fact that I am using secure file permissions (YaST setting)?
Yes, that's the problem. In order to let non-root users mount drives the mount binary has to be suid root, but setting permissions to secure removes the suid bit from /bin/mount. You can easily fix it like this: chown root.root /bin/mount /bin/umount chmod 4755 /bin/mount /bin/umount To prevent SuSEconfig from removing the suid bit again, add /bin/mount root.root 4755 /bin/umount root.root 4755 to /etc/permissions.local. Ciao, Stefan In your first mail you mentioned that you added yourself to the disk group. Don't do that as accidently redirecting some program output to your harddisk device will have disastrous results if you're in that group. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Stefan Troeger wrote:
Hi,
On Sat, May 06 2000 at 19:33 -0400, Prasanna Krishnan wrote:
I tried your solution but it did not work. I don't know why. I checked the SuSE online database and they had the same solution as you did. Could the problem be the fact that I am using secure file permissions (YaST setting)?
Yes, that's the problem. In order to let non-root users mount drives the mount binary has to be suid root, but setting permissions to secure removes the suid bit from /bin/mount. You can easily fix it like this:
chown root.root /bin/mount /bin/umount chmod 4755 /bin/mount /bin/umount
To prevent SuSEconfig from removing the suid bit again, add
/bin/mount root.root 4755 /bin/umount root.root 4755
to /etc/permissions.local.
Ciao, Stefan
In your first mail you mentioned that you added yourself to the disk group. Don't do that as accidently redirecting some program output to your harddisk device will have disastrous results if you're in that group.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, I've registered VMWARE and received the license back. I've put the license into /home/name/vmare, and when I try to run /user/bin/vmware I get the "no license" error message. I've even rpm -e and then reinstalled but no joy. And as a desperate measure :) I've even copied the license into any directory that is linked to vmware. I'm running SuSE 6.4. Any suggestions? Thanks, -- paul -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
paul wrote:
Hi,
I've registered VMWARE and received the license back. I've put the license into /home/name/vmare, and when I try to run /user/bin/vmware I get the "no license" error message.
I've even rpm -e and then reinstalled but no joy. And as a desperate measure :) I've even copied the license into any directory that is linked to vmware.
I'm running SuSE 6.4.
Any suggestions?
Thanks,
-- paul
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I haven't used vmware for a while, but doesn't the directory have to be /home/username/.vmware/? Notice the full-stop before vmware. In that directory, place the file 'license'. HTH -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
paul wrote:
Hi,
I've registered VMWARE and received the license back. I've put the
----- Original Message -----
From: Prasanna Krishnan
into /home/name/vmare, and when I try to run /user/bin/vmware I get the "no license" error message.
I haven't used vmware for a while, but doesn't the directory have to be /home/username/.vmware/? Notice the full-stop before vmware. In that
Snip directory,
place the file 'license'. HTH
Thanks, I'll give it a go. -- paul -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
The license has to be named "license", and it has to live in /home/name/.vmware/ in order for VMware to find it. -tara On Sun, 7 May 2000, paul wrote:
Hi,
I've registered VMWARE and received the license back. I've put the license into /home/name/vmare, and when I try to run /user/bin/vmware I get the "no license" error message.
I've even rpm -e and then reinstalled but no joy. And as a desperate measure :) I've even copied the license into any directory that is linked to vmware.
I'm running SuSE 6.4.
Any suggestions?
Thanks,
-- paul
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
----- Original Message -----
From: T L Andrews
The license has to be named "license", and it has to live in /home/name/.vmware/ in order for VMware to find it.
-tara
Thanks. -- paul -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (6)
-
BobFi@swbell.net
-
pras@linux.ca
-
smartart@cableinet.co.uk
-
stefan.troeger@wirtschaft.tu-chemnitz.de
-
tla@akamai.com
-
tomas@primenet.com