LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   vsftp server shows some files not others (https://www.linuxquestions.org/questions/linux-software-2/vsftp-server-shows-some-files-not-others-874417/)

anadem 04-11-2011 05:13 PM

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.

bathory 04-12-2011 12:05 AM

Hi,

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

Regards

anadem 04-18-2011 06:27 PM

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

[SOLVED]

vikas027 04-18-2011 06:54 PM

Quote:

Originally Posted by anadem (Post 4328640)
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.


All times are GMT -5. The time now is 05:48 PM.