LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   need help setting sticky bits to prevent file overwrite (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-setting-sticky-bits-to-prevent-file-overwrite-657499/)

kennmurrah 07-22-2008 02:27 PM

need help setting sticky bits to prevent file overwrite
 
I've set up an ftp server using vsftpd, and I want to prevent a user from uploading a file and overwriting what he's already uploaded. Also, I don't want him to be able to erase a file from his directory.

Is there a way, via sticky bits, or something else, that I can configure the folder to allow him to upload files but at the same time to prevent him from overwriting a file or from erasing an existing file?

thanks.

Kenn

{BBI}Nexus{BBI} 07-22-2008 04:22 PM

Here's a good resource: http://www.zzee.com/solutions/linux-permissions.shtml. Go to section 6.

Mr. C. 07-22-2008 05:16 PM

Please don't post essentially the same question multiple times - you're being helped here:

http://www.linuxquestions.org/questi...vsftpd-657514/

kennmurrah 07-22-2008 07:12 PM

My apologies. After my initial post, it occurred to me that I probably had not posted in the correct forum, so I submitted it to a different category. It won't happen again.

BTW, your answer was EXTRAORDINARILY helpful ... I appreciate your directing me to the appropriate vsftpd configuration settings.

thanks again.

Kenn

chrism01 07-22-2008 07:35 PM

If you want to move your qn to a different forum, just use the 'Report' button to ask the mods to move it.
:)


All times are GMT -5. The time now is 12:07 PM.