[Samba] set file permission 755 in samba

Reindl Harald h.reindl at thelounge.net
Sat Apr 15 11:35:54 UTC 2017

Am 15.04.2017 um 13:12 schrieb Fatemeh Mehdizadeh via samba:
> I'm on FreeBSD 11 andI installed samba 36. When a user create a folder it
> has 755 permission but when hhe create a file, it has 644 permission. I
> want to set the file permission the same as folders but it dose'nt change.

you don't undestand filesystem permissions

the directory needs 755 (executable) but the file on a smb share only 
644 (exectute permissions should be avoided in general where they are 
not needed)


Permission Types
execute - The Execute permission affects a user's capability to execute 
a file or view the contents of a directory.

More information about the samba mailing list