Anyway, I tried almost everything here. I made a smbusers file which sets apache = my samba user and added the line:
username map = /usr/local/etc/smbusers
to the global parameters of smb.conf.
I set the umask for apache and the samba user to 002. I changed the setgidbit on the document root directory for apache where the script is creating the directories that my samba user can't modify. I wasn't sure how to make sure that Samba was a member of the apache group except to make sure that the windows user accessing the box via Samba is. It is.
Finally, in the smb.conf file, I added the parameters force user = apache and force group = apache, since the user and group owners of the files created by the script are apache and apache respectively.
As root, I did a killall -HUP init and I waited the requisite minute for samba to reinitialize from the conf file just to be sure.
I can read the files created by the script via my windows share, but I still can't save modifications to them.
I do appreciate any additional suggestions anyone may have, especially given that this is only loosely related (for me) to Perl.
In reply to Re: Re: How do I make two users have the same privileges?
by Reaped: Answer: Vroom testing some more
in thread How do I make two users have the same privileges?
by Reaped: Answer: Vroom testing some more
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |