Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
    
Could I recommend grep ^[^#] /etc/vsftpd.conf to remove comments (and whitespace if you had any?) – Aaron Copley Jan 11 '13 at 17:11
    
Done and edited ;) – lala Jan 11 '13 at 17:14
    
anybody have idea? :/ – lala Jan 11 '13 at 18:27
1  
i cannot comment due to my rep, so i hope it's acceptable to ask for more information here. - Can you provide the last bit of the vsftpd log? - As you have chroot_local_user enabled, user1 should be in their home directory upon successful connection, can you confirm? - Do you have SELinux enabled? - Can you provide the commands you are using when connected to create the directory? Also i believe this question is better suited for unix.stackexchange or superuser as it doesn't seem to be in a professional environment. – haveyouseenmyname Jan 11 '13 at 19:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.