LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 03: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, 05:22 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
Here's a good resource: http://www.zzee.com/solutions/linux-permissions.shtml. Go to section 6.
 
Old 07-22-2008, 06:16 PM   #3
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
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, 08: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, 08:35 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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 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


All times are GMT -5. The time now is 03:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration