Internal users for Samba
I have a shared samba dir in My CentOs with read/write permissions. all is working good.
File permissions of that dir are "777"
But Im a PHP programmer, I have a script that create and put files into that samba shared dir, but its owner and group are apache user. Files with apache user as owner, cannot be written for windows users.
How can I setup samba for accept "apache user" for read/write permissions?
Thanks in advance:)
With the dir permissions you have, add “apache user” to samba smbpasswd -a user.
If you change dir permissions to 770 (no guest access) you will also have to add
“apache user” to the samba group.