Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-22-2008, 03:27 PM   #1
LQ Newbie
Registered: May 2005
Posts: 20

Rep: Reputation: 0
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?


Old 07-22-2008, 05:22 PM   #2
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Here's a good resource: Go to section 6.
Old 07-22-2008, 06:16 PM   #3
Mr. C.
Senior Member
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Please don't post essentially the same question multiple times - you're being helped here:
Old 07-22-2008, 08:12 PM   #4
LQ Newbie
Registered: May 2005
Posts: 20

Original Poster
Rep: Reputation: 0
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.

Old 07-22-2008, 08:35 PM   #5
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,814

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to prevent overwrite particular config file when using rpm --replacefile option amit_pansuria Linux - General 2 07-17-2008 06:56 AM
group sticky bits (confused on how, clear on concept) bpk Linux - Newbie 6 02-03-2005 09:14 PM
Sticky Bits bluesbrothers AIX 1 04-27-2004 03:31 AM
controlling my sticky bits ridertech Linux - Security 1 01-02-2004 12:17 AM
Setting File / Directory Permission, with sticky Primetime Linux - Newbie 3 01-06-2003 02:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration