Hello Dan!

On Saturday 09 August 2003 02:20, Dan Jones wrote:

> [...]
> A beer went down really good about then.  I then abandoned mount and
> fstab, and mounted the partition by calling mount.smbfs directly as
> root.  Wonder of wonders, success!  However, I'd still like to know
> how to add the line to fstab so that a user can mount an smbfs
> share.

Here it works like this:

,----[ from my box ]
| [EMAIL PROTECTED]:~$ cat /etc/fstab | grep ^//
| //sleep/Desktop /sleep/Desktop  smbfs  
user,noauto,fmask=660,dmask=770,username=XXX,password=XXX,uid=1000,gid=1000    
0       0
| [EMAIL PROTECTED]:~$ ls /sleep/Desktop/ | wc -w
|       0
| [EMAIL PROTECTED]:~$ mount /sleep/Desktop
| [EMAIL PROTECTED]:~$ ls /sleep/Desktop/ | wc -w
|       23
`----

Naturally the fstab entry has to be all on one line...

HTH,
Flo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to