i have installed samba en i share my htdocs
with this options
path = /usr/local/httpd/htdocs
comment = Webserver default
read only = no
admin users = administrator
force create mode = 0775
inherit permissions = yes
but when i create a file its doesn't get the write rights
-rwxrw-r-- 1 root root 0 Jan 2 21:36 test_file.txt
what is wrong
That's write-permitted as far as I can see. Sure, it does miss the exec permissions, which seems strange, but those shouldn't be there anyway. Set force create mode = 664 instead. Unless you have a really good reason for those exec bits?
One would think that you'd want the created files to have another GID, though.