[Samba] Samba on freebsd - permissions issue

TAKAHASHI Motonobu monyo at monyo.com
Thu Sep 8 11:18:33 MDT 2011


From: "James D. Parra" <jamesp at musicreports.com>
Date: Wed, 7 Sep 2011 16:31:48 -0700 (PDT)

(snip)
> When a windows machine writes to the dir the permissions look
> fine. For example,
> 
> -rwxrw-rw- 1 nobody nobody 0 Sep  7 13:38 New Text Document.txt
> 
> However, if a Linux machine mounts the share and any user other than
> root writes to it the perm's are different and you get a permissions
> error;

(snip)

> I get the same results when mounting the share from Linux using
> these two different commands;
> 
>  mount -t cifs //bsd-host/test2 /mnt/test2
> 
> and,
> 
>  mount -t cifs -o file_mode=0777,dir_mode=0777 //bsd-host/test2 /mnt/test2

try,

$ mount -t cifs -o noperm //bsd-host/test2 /mnt/test2

"noperm" means disabling access control using client side's
permission.

---
TAKAHASHI Motonobu <monyo at samba.gr.jp>


More information about the samba mailing list