Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-11-2011, 06:13 PM   #1
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, 01:05 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,216

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407

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

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

Original Poster
Rep: Reputation: 0

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

Old 04-18-2011, 07:54 PM   #4
Senior Member
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,291

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

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


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

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 09:09 AM
Thunar File Manager shows text files as Adobe bridge workspace files bret381 Linux - Software 6 01-01-2011 10:23 AM
Timestamps, VSFTP, Samba & files edited on a server dsackett Linux - Newbie 3 11-24-2008 02:10 PM
Red Hat - VSFTP Server - release of large files to the file store houmb17 Linux - General 4 02-29-2008 06:02 AM

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