Samba-2.2.0alpha-3 and smbmount

Urban Widmark urban at teststation.com
Wed Apr 18 12:22:23 GMT 2001


On Fri, 6 Apr 2001, Bill Parker wrote:

> Hi All,
> 
> 	When I use smbmount to attach a NT 4 Server's drive C:, I use
> the following command:
> 
> smbmount //inet_server_1/C$ /mnt/server1 -o
> username=xxxxxx,password=xxxxxx,fmask=700,dmask=700,nosuid,noexec
> 
> now, if I am su'd to root, and do a df -h I get:
> 
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda1             6.7G  2.5G  3.8G  39% /
> //inet_server_1/C$    7.8G  3.2G  4.6G  41% /mnt/server1
> 
> but if I am a plain old user, I get the following:
> 
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda1             6.7G  2.5G  3.8G  39% /
> df: /mnt/server1: Permission denied

Which samba version are you using now? (+ kernel version)

If you mount as root with 700/700 then the normal user isn't allowed to
access the mount. But that does not seem to prevent 'df -h' from showing
available space (for me on 2.4.2) df version ... ?

/Urban





More information about the samba mailing list