Portal Home > Knowledgebase > Articles Database > Odd problem with vsftpd
Odd problem with vsftpd
Posted by Bluz, 09-16-2011, 02:17 PM |
With VSFTPD when I download anything with brackets in it I cannot see the file via FTP does anyone know a fix for this? Thanks.
|
Posted by twikamltd, 09-16-2011, 02:39 PM |
Check the hide_file setting in vsftpd.conf and make sure it's not hiding them?
|
Posted by Bluz, 09-16-2011, 02:41 PM |
I don't see a hide_file setting in it, what would be the proper code to toss in the config page?
|
Posted by twikamltd, 09-16-2011, 02:45 PM |
http://vsftpd.beasts.org/vsftpd_conf.html
Try setting the variable with something random, restart service and see what happens. If nothing, try another client. What's the filename just out of interest?
|
Posted by shanmarsh1, 09-17-2011, 07:50 AM |
Hi,
On Sun, 27 Jun 2004, Joao Santos wrote:
> Hello everyone.
> I have been rewriting a private privilege system in the 2.6.7 kernel and
> while making the final tests, vsftpd did not work because it could not set
> capabilities after changing to UID 99 (which seemed correct to me). Just to
> make sure I was doing the right thing, I booted up a vanilla kernel and
> traced vsftpd again to see how the kernel was reacting to that setcap()
> after setuid() and strangely the kernel let the setcap through and returned
> success.
Yep - vsftpd uses prctl(PR_SET_KEEPCAPS, 1) to achieve this.
It's necessary because there's little point in reducing your capability
set unless you also switch away from uid 0 (it owns files which could be
used to regain full capabilities).
|
Add to Favourites Print this Article
Also Read