in reply to Re: How do I make two users have the same privileges?
in thread How do I make two users have the same privileges?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: How do I make two users have the same privileges?
by Fastolfe (Vicar) on Dec 15, 2000 at 21:03 UTC | |
by Reaped: Answer: Vroom testing some more (Initiate) on Dec 15, 2000 at 21:42 UTC | |
by amelinda (Friar) on Dec 15, 2000 at 22:23 UTC | |
by Reaped: Answer: Vroom testing some more (Initiate) on Dec 16, 2000 at 00:33 UTC |