LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-22-2008, 02:27 PM   #1
kennmurrah
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?

thanks.

Kenn
 
Old 07-22-2008, 04:22 PM   #2
{BBI}Nexus{BBI}
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: http://www.zzee.com/solutions/linux-permissions.shtml. Go to section 6.
 
Old 07-22-2008, 05: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:

http://www.linuxquestions.org/questi...vsftpd-657514/
 
Old 07-22-2008, 07:12 PM   #4
kennmurrah
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.

Kenn
 
Old 07-22-2008, 07:35 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

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


Reply


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 05:56 AM
group sticky bits (confused on how, clear on concept) bpk Linux - Newbie 6 02-03-2005 08:14 PM
Sticky Bits bluesbrothers AIX 1 04-27-2004 02:31 AM
controlling my sticky bits ridertech Linux - Security 1 01-01-2004 11:17 PM
Setting File / Directory Permission, with sticky Primetime Linux - Newbie 3 01-06-2003 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:56 AM.

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