LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-11-2011, 05:13 PM   #1
anadem
LQ Newbie
 
Registered: Sep 2008
Posts: 16

Rep: Reputation: 0
Question vsftp server shows some files not others


I've installed vsftp as ftp server on CentOS5. vsftpd.conf is unedited, works without change as it was installed (it's a private network on which I'm using anonymous ftp.)

For some reason vsftp will not serve some files which I downloaded from another system (using ftp.) The downloaded files simply don't show up at all if I come into vsftp via a browser, for example, and 'get' fails in a command-line ftp client. Other files originating from the local machine are served OK.

If I copy the downloaded file, vsftp shows the copy just fine but not the original; both files are in /var/ftp (the ftp server root.)

The downloaded file had group and owner as '65534' so I did chgrp/chown root, but that made no difference. Reboot makes no difference; restarting the client or using a different client machine makes no difference.

What am I missing or doing wrong? What doesn't vsftpd like about the downloaded files? This is happening on two separate machines, and I'm very puzzled.
 
Old 04-12-2011, 12:05 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
Hi,

Since it's Centos I would suspect SELinux.
Have a look here for more details

Regards
 
1 members found this post helpful.
Old 04-18-2011, 06:27 PM   #3
anadem
LQ Newbie
 
Registered: Sep 2008
Posts: 16

Original Poster
Rep: Reputation: 0
[solved]

Thanks, SELinux was it. Your link gave me
setsebool -P allow_ftpd_full_access on

[SOLVED]
 
Old 04-18-2011, 06:54 PM   #4
vikas027
Senior Member
 
Registered: May 2007
Distribution: RHEL, CentOS
Posts: 1,241

Rep: Reputation: 96
Quote:
Originally Posted by anadem View Post
Thanks, SELinux was it. Your link gave me
setsebool -P allow_ftpd_full_access on

[SOLVED]
Please follow my signature and Mark this thread as Solved.
 
1 members found this post helpful.
  


Reply

Tags
ftp, vsftp


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Files uploaded by OSX machines to vsftp server can't be deleted by other users rjo98 Linux - Newbie 25 02-23-2011 08:09 AM
Thunar File Manager shows text files as Adobe bridge workspace files bret381 Linux - Software 6 01-01-2011 09:23 AM
Timestamps, VSFTP, Samba & files edited on a server dsackett Linux - Newbie 3 11-24-2008 01:10 PM
Red Hat - VSFTP Server - release of large files to the file store houmb17 Linux - General 4 02-29-2008 05:02 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration