LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-05-2005, 03:24 PM   #1
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Rep: Reputation: 15
Question How to restore vsftpd incoming


Hi,
Whilst I was away on vacation someone deleted the incoming directory on our ftp server. All my research indicates that the server was not compromised, so I can only assume it was an accident by a stand-in admin.

Qs: how do I put back the incoming folder - just re-create it?
What permissions/ownership should I give it?

We have Redhat 9

Cheers,
Geoff
 
Old 10-08-2005, 11:14 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
I believe the default /var/ftp/pub directory is owned by root and has 755 permissions. Though for an incoming directory it would need to be writeable. However your permissions will vary depending on what type of access you are allowing and how you want your ftp service to work. For example do you want users to be able to see files in the dir or be able to create/delete files? Here is a good guide for ftp file and dir permissions and the implications for each setting:

http://www.panix.com/web/faq/permissions.html

Last edited by Capt_Caveman; 10-08-2005 at 11:29 AM.
 
Old 10-10-2005, 09:35 AM   #3
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Original Poster
Rep: Reputation: 15
Thumbs up

Hi Capt.,
That document is what I wanted! Thanks very much.
Cheers,
Geoff.
 
  


Reply



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
vsftpd settingd and VSFTPD DEAD BUT SUBSYS LOCKED pc_copat Linux - Newbie 15 11-05-2009 10:31 PM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 01:05 AM
VSFTPD Debian VSFTPD "unrecognised variable in config file" DCT Linux - Software 0 05-29-2004 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:53 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