Nick Guenther wrote:

Is it really that critical that users feeding
you can't delete their own files?

I have created an ftp only account, which is used to upload the files. Since this account is used to upload the files, he is also the owner of the files. Other ftp daemons have their own user management, and it is possible to configure things like that.


Admittedly if that's necessary I
can't think of a great solution off the top of my head. You could run
famd(8) and write a little app that listens for new files and changes
their owner, or more simply you have users upload to a special
subfolder (with permissions 220 maybe?) and run a cronjob every few
minutes that moves files out into the main backup dir and sets
permissions as you like.


Or just write this 10 lines patch and use the -u command to prevent chmod. Hopefully one of the developpers will see the patch and comment if i have done something really stupid ;).

Thanks for your suggestions though, famd was something that i haven't thought of .. but i prefer to have no way of deleting the files (through ftp), the moment they start getting uploaded

    Aristotelis

Reply via email to