Web lists-archives.com

Re: [Samba] set file permission 755 in samba






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)

https://www.linux.com/learn/understanding-linux-file-permissions

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


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba