Tag Info

New answers tagged

0

I had to change pure-ftpd.conf and increase the LimitRecursion setting to support more files.


4

If there are 70000 files but your FTP software only shows 9998, then obviously it's the fault of your FTP software, and there is no limit on the filesystem. You'll need to use another FTP software. This assumes that your PHP script is correct, of course. Note that some FTP programs may omit dot files (files whose name begins with .) by default. ...


0

I had a similar issue, and resolved it by temporarily setting SELinux to "permissive" on the server.


0

First of all I'd create a symlink between /var/www/ and my home what this does is, when you land into /home/usr you can go to /home/usr/www and it will redirect you to /var/www for instance. cd /home/usr sudo ln -s /var/www www perform a ls -lrt on /var/www ls -lrt /var/www/ now make sure your usr is part of group that owns www. this tells you who ...


1

you can't exactly do it with a command line option, but what you can do is redirect stdin like so: $ ftp -n ftp.backupte4.rsyncbackup.info << EOF > quote USER bapte > quote PASS b2p7Ua2 > put somefile <-- this is the command you want to execute > quit > EOF or you can put it in a script: #!/bin/sh ftp -n ...


0

Having a user inside a *NIX operating system does not mean that you will have ftp access. Does this system have a ftp server running(probably yes, since tcp-21 is opened), and it is configured to integrate with pam or other of your login management system? Some ftp servers use logins that are not related with the ones created on the operating system. Other ...


2

This tutorial would seem to be what you're looking for, titled: Setup Virtual Users and Directories in VSFTPD. excerpt In /etc/vsftpd.conf. listen=YES anonymous_enable=NO local_enable=YES virtual_use_local_privs=YES write_enable=YES connect_from_port_20=YES secure_chroot_dir=/var/run/vsftpd pam_service_name=vsftpd guest_enable=YES user_sub_token=$USER ...


0

I'd actually recommend sticking with Filezilla. It's one of the most feature-rich graphical FTP clients on any platform, and the GUI is continually improving. Installation on Ubuntu / Debian / Linux Mint is as simple as sudo apt-get install filezilla.


0

A slightly heavy-handed solution to allow vsftpd access anywhere, would be: setsebool -P allow_ftpd_full_access=1 At that point, vsftpd can go pretty much anywhere on the system...


1

You can usually find selinux denials in /var/log/messages. Try this (as root): grep avc /var/log/messages | grep ftp Review the output and decide whether the denials are erroneous, given your desired configuration. Tune the grep statements as necessary to whiddle the information down to only the statements you want to fix. It's often useful to ...


1

SELinux won't let vsftpd serve files from places other than /var/ftp or write logs outside /var/log on purpose. SELinux is all about disaster mitigation. FTP is fundamentally insecure. Running vsftpd under SELinux is a good idea, because it minimizes the damage an attacker can do if he decides to attack your FTP service. Running a fundamentally insecure ...


1

You could use something like expect to provide the credentials each time you want to connect. It's not super secure but gives you what you want. #!/usr/local/bin/expect -- set timeout -1 spawn gvfs-mount {args} expect "User" send "joe\n" expect "Password:" send "xxxxx\n" expect eof Source: gvfs-mount specify username password


1

Iptables needs some kernel modules loaded in order for "RELATED, ESTABLISHED" to work. If your HTTP clients are okay, you obviously have some of them. > lsmod | grep conntrack nf_conntrack_ipv4 20258 6 nf_defrag_ipv4 12702 1 nf_conntrack_ipv4 xt_conntrack 12760 6 nf_conntrack 99996 2 ...


0

Check your firewall logs. FTP actually uses ports other than 21 once the connection is established. 21 is only the control port. Try disabling selinux to see if the problem goes away. If it does you get to read up about configuring selinux more.... The browser needs authentication information since anonymous is disabled. This means the URL needs the ...



Top 50 recent answers are included