Message-Id: <5.0.2.1.0.20001205002026.03473a48@claborn.net> Date: Tue, 05 Dec 2000 00:24:01 -0600 From: wilson@claborn.net (Jonathan Wilson) Subject: Re: [SLE] Using remote smb share via fstab?+as non-root user? At 06:36 AM 12/4/2000 -0500, you wrote:
Jonathan Wilson wrote:
I have been fighting with this problem for ages and I wish someone could get me a real answer.
Everything works except one thing:users can't mount the smb share, even though I have "user" in the fstab options. I have tried fiddleing with the perms on mount, smbmount, and so on, but all I get is stuff like this:
[jw@garnet jw]$ mount /mnt/Cschomeserver/ cannot mount on /mnt/Cschomeserver: Operation not permitted smbmnt failed: 1 mount.smbfs: ioctl failed, res=-1 Could not umount /mnt/Cschomeserver: Invalid argument
Here's my fstab line:
//cschomeserver/servere /mnt/Cschomeserver smbfs noauto,username=anyone,password=,user 0 0
I've also used "smb" instead of "smbfs".
mount /mnt/Cschomeserver works PERFECTLY fine for root, either way, but never as any regular user.
Does anyone know what it takes to make smbshares user-mountable?
I should note that this is on a Red Hat system (sorry....). IMHO it should hardly matter :-(
JW
You might try adding the users to the group disk if you haven't already??
That was a great idea, sadly it didn't work. Any other ideas? Buy the way none of those binaries are owned by the group disk, should they be? [jw@garnet jw]$ ls -ld /bin/mount -rwsr-xr-x 1 root root 56208 Feb 3 2000 /bin/mount [jw@garnet jw]$ ls -ld /usr/bin/smbmount -rwsr-sr-x 1 root root 258160 May 17 2000 /usr/bin/smbmount [jw@garnet jw]$ ls -ld /usr/bin/smbmnt -rwsr-sr-x 1 root root 251728 May 17 2000 /usr/bin/smbmnt [jw@garnet jw]$ ls -ld /usr/bin/smbumount -rwxr-xr-x 1 root root 250704 May 17 2000 /usr/bin/smbumount <p>I think I remember adding the ug+s bit myself. Didn't want to set that on world though :-/
-- Mark Hounschell dmarkh@cfl.rr.com
-- 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/faq