Results 1 to 2 of 2
Hi everybody
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, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-03-2010 #1Just Joined!
- Join Date
- Dec 2010
- Location
- Colombia
- Posts
- 4
Internal users for Samba
Hi everybody
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
Bye
- 12-08-2010 #2Just Joined!
- Join Date
- Oct 2010
- Posts
- 30
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.


Reply With Quote
