LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to make that ftp user could upload files, but not to delete! (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-make-that-ftp-user-could-upload-files-but-not-to-delete-192413/)

spotass 06-11-2004 02:08 PM

how to make that ftp user could upload files, but not to delete!
 
how to make that ftp user could upload files, but not to delete! there is running pure-ftpd server...

Mara 06-11-2004 03:46 PM

You probably need the '-K' option. From the README:
Quote:

'-K': Allow users to resume and upload files, but *NOT* to delete or rename
them. Directories can be removed, but only if they are empty. However,
overwriting existing files is still allowed (to support upload resume) . If
you want to disable this too, add -r (--autorename) .

amadkow 06-11-2004 06:23 PM

I know you can make it so users can only delete files they own by adding the sticky permission to them or the folder I use that on my file server at work

spotass 06-12-2004 01:39 AM

how to add that "-K" option, I'm using pure-ftpd with mysql.

Mara 06-12-2004 06:11 PM

It's a runtime option (parameter passed to pureftpd when you start it). Add it to the script you use to start PureFTP.


All times are GMT -5. The time now is 07:47 AM.