LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   VSFTP - problem with Debian (https://www.linuxquestions.org/questions/linux-server-73/vsftp-problem-with-debian-4175445164/)

lil12 01-11-2013 11:49 AM

VSFTP - problem with Debian
 
Hi,

I have a big problem and I hope you can help me to find the solution.

till yesterday worked perfectly but today (dunno why) my VSFTP server doesn't work properly.

OS: Debian 6

The problem is: I can't create other directories (with logged users) but I can rename them or create files.

If I try to create a directory I get "550 Create directory operation failed".

The name of the user is "user1":

drwxrwxrwx 3 user1 utenti 4096 Jan 11 15:00 test

and this is my vsftpd.conf:

listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem

How is it possible?

sharadchhetri 01-11-2013 02:17 PM

Quote:

Originally Posted by lil12 (Post 4867902)
Hi,

I have a big problem and I hope you can help me to find the solution.

till yesterday worked perfectly but today (dunno why) my VSFTP server doesn't work properly.

OS: Debian 6

The problem is: I can't create other directories (with logged users) but I can rename them or create files.

If I try to create a directory I get "550 Create directory operation failed".

The name of the user is "user1":

drwxrwxrwx 3 user1 utenti 4096 Jan 11 15:00 test

and this is my vsftpd.conf:

listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem

How is it possible?

Check the SELinux
check the log
Check the permission of directory where user is creating new dir.
Is it your only settings you have done in server?

I am getting doubt on these two settings

chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd/empty


All times are GMT -5. The time now is 06:33 PM.