Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

access permissions

Status
Not open for further replies.

jaymzter

Vendor
Jul 8, 2002
441
US
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:eek: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".
 
It's fixed. Apparently I actually hadn't used "write list". That worked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top