[Samba] smbmount permissions

Urban Widmark urban at teststation.com
Sat Mar 9 03:24:02 GMT 2002


On Fri, 8 Mar 2002, Charles Lewis wrote:

> drwxrwxr-x    2 root     staff        4096 Mar  6 13:25 cars/
> drwxrwxr-x    2 root     staff        4096 Mar  6 13:24 delta/
...
> smbmount //delta/cars /swau/cars
>      -o
> uid=lewisc,rw,dmask=0777,fmask=0777,workgroup=admin,credentials=/credentials
> smbmount //delta/lewisc /swau/delta
>      -o
> uid=lewisc,rw,dmask=0777,fmask=0777,workgroup=admin,credentials=/credentials
...
> Here is the resulting ls of the directories:
> 
> dr-xr-xr-x    1 lewisc   root         4096 Dec 10 10:47 cars/
> drwxrwxrwx    1 lewisc   root         4096 Mar  5 13:29 delta/

Check the status on the server. If smbfs sees a readonly attribute on the
dir entry returned by the server it disables all write flags on the entry.

/Urban





More information about the samba mailing list