Thanks for the tip!
The same problem arises with the 'user' option, but there is a little
subtitility because it seems that the 'noexec,nosuid,nodev' options are
then automatically added by the calling program. Thus in this case the
smbmount shell should be modified like this :

---------------------------------------------------------------------
#!/bin/sh

params=`echo $* | sed 's/noauto,//'`
params=`echo $params | sed 's/noexec,nosuid,nodev,user,//'`

exec smbmount.orig $params
--------------------------------------------------------------------

and this corresponds to a line in /etc/fstab like this :

//server/mnt1  /mnt1  smbfs
credentials=/etc/cred,uid=1000,gid=1000,user,noauto,iocharset=iso8859-1,codepage=cp850
  0 0






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

Reply via email to