From: Conor Daly (conor.daly at domain met.ie)
Date: Thu 20 Jul 2000 - 04:51:49 IST
-----Original Message-----
From: Paul Jakma <paulj at domain itg.ie>
To: Conor Daly <conor.daly at domain oceanfree.net>
Cc: ilug at domain linux.ie <ilug at domain linux.ie>
Date: 19 July 2000 16:46
Subject: Re: [ILUG] coping files from win98 to linux in a dual boot system
>On Wed, 19 Jul 2000, Conor Daly wrote:
>
>
>> /dev/hdb2 /d vfat
user,noauto,noexec,dev,suid,rw 0 0
>>
>
>might want to change dev and suid to nodev,nosuid. don't think vfat can
>support dev or suid anyway, but better safe than sorry.
>
>--paulj
>
Saw some mention of that while fiddling but didn't bother to change it
yet...
On a similar note, has anyone managed to (easily) mount Samba shares on an
RH 6.2 client? I was running 6.0 and using the smbmount command and all was
fine. Not a nice commandline to type but I just put it in a script.
Problem now (on RH 6.2) is...
I have a public access share on the samba server which I want to mount on
/mnt/public.
$>ls -l /mnt | grep public
drwxrwxrwx root root public
$>
Now, I can only mount this as root. If I try to mount as a user, I get
permission denied for the mount point (which seems reasonable). If I change
the ownership of the directory, I can mount as user but that's not what I
want. I tried stuff like setting the umask for the mount in /etc/fstab to
no avail. I tried setting the group ownership to "users" and still nothing
works (of course, each user is their own group too. Don't know how to
change that (vi /etc/passwd and change the GID for each user?)). Even
though I have world write permissions for /mnt/public, I still can't write
to the share without "su" first.
Any way to allow a user to do a
mount -t smbfs //SAMBA/SHARE /mount/point -o username=blah ?
If I set the "user" option in fstab, the user can run the command but then
we get the permission error for the mount point and if I do a
mount -t smbfs //SAMBA/SHARE /mount/point/that/i/own -o username=blah
I get "only root can do that" since I'm using something other than what's
in fstab. I don't want to add entries to fstab for each user with their own
mount point but that's all I can think of at present.
I could go on and on... If I could remember anything else. :-)
--- Conor Daly ------------------------------------- General Forecast Division Met Eireann Glasnevin Hill Dublin 9. ph +353 1 8064255 fax +353 1 8064275 conor.daly at domain met.ie -------------------------------------
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:55 GMT