I'm trying to share my httpd root out to two people to make updating the pages easier. All files in apache's root have read and write permissions for uid apache and gid apache. Here's the service definition:
[web]
path = /var/ guest ok = no
force user = apache
force group = apache
valid users = user1, user2
The share is mounted as username=user1 and user1's UID and GID are also given to the mount command, but samba will not allow write permissions:
smbd/open.c
pen_file(213)USER1 opened file robots.txt read=Yes write=No (numopen=2)
note that USER1 is identified as opening the file, but apache is the one who closes it:
smbd/close.c:close_normal_file(203)apache closed file robots.txt (numopen=1)
What gives? I've also tried using 'write list = user1, user2", and "writable = yes".
[web]
path = /var/ guest ok = no
force user = apache
force group = apache
valid users = user1, user2
The share is mounted as username=user1 and user1's UID and GID are also given to the mount command, but samba will not allow write permissions:
smbd/open.c
note that USER1 is identified as opening the file, but apache is the one who closes it:
smbd/close.c:close_normal_file(203)apache closed file robots.txt (numopen=1)
What gives? I've also tried using 'write list = user1, user2", and "writable = yes".