Actually the file is still writable by the user, group and other. The group doesn't have execute permission is what has changed.
rwxrwx--- to rwxrw-r-- r=read w=write x=execute user,group,other.
Quote:
From Samba Documentation
force create mode (S)
This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bitwise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied.
See also the parameter create mask for details on masking mode bits on files.
See also the inherit permissions parameter.
Default: force create mode = 000
Example: force create mode = 0755
would force all created files to have read and execute permissions set for 'group' and 'other' as well as the read/write/execute bits set for the 'user'.
|
Heres an example of what it would look like in /etc/samba/smb.conf for your rwxrwx--- permissions.
Code:
[homes]
comment = Admin Group Home Directory
path = /home/admin
read only = No
force create mode = 0770
I wrote this a 9:00PM. I will submit it as soon as LQ comes back online.