On Mon, 2002-03-18 at 23:14, Bob Miller wrote: > Rob Hudson wrote: > > > Here's a tricky question... > > > > Summary: How do I get the FTP server and apache server to be able to > > modify the same files and directories? > > Is this for ORCAS? You guys are making web site maintenance way too > complex if it is. > > If this is for ORCAS, you need to redesign your workflow.
No. It's another side project I'm working on. It was a kludge, and I'm still trying to kludge it more. But once this is done, it will work. :) > You could do one of several things. > > 1. Root could have a frequently running cron job (every five minutes?) > that said: > chown -R nobody.nogroup /var/www/docs/FILES > > 2. The PHP project-delete script could run a setuid root script > to delete the project files regardless of permissions. Is > the project-delete script the only problem? I think this would be the easiest to do. It's only the project-delete script, and it could spawn a shell or perl script like you said. It would probably be preferrable to be setuid 'user' instead of setuid 'root', yes? ;) Thanks for the excellent suggestions. BTW, setuid and setgid directories are confusing. -Rob -- Rob <rob_at_euglug_dot_net> my @euglugCode = qw(v+++ e--- eug+ bsd+++ gnu+ S+++);
