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?

I've got a set of PHP scripts that makes directories in a specific web
accessable folder.  The top directory is called 'FILES' and needs to
belong to group 'nobody'.  Apache creates more subdirectories inside of
it, depending upon which project ID from the database was created.

I've also got a client logging into FTP and uploading files into these
subdirectories.

I've got this much working so far.

The problem comes when the project is deleted from the database.  I want
to remove all uploaded files and the directories.

The problem is that the group doesn't 'stick', and the uploaded files
look like this:

-rw-r--r--  user  user  file1.txt

I've tried various things, including making the directory sgid.  The
files always come up owned by 'user' and belonging to group 'user'.

I did find that the ftp daemon, proftpd, has a place to alter user and
group ids, but this didn't work either.

Any ideas appreciated.  I'm willing to try what should work again.

Thanks,
Rob

-- 
Rob <rob_at_euglug_dot_net>
my @euglugCode = qw(v+++ e--- eug+ bsd+++ gnu+ S+++);

Reply via email to