LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-11-2013, 11:49 AM   #1
lil12
LQ Newbie
 
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
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?
 
Old 01-11-2013, 02:17 PM   #2
sharadchhetri
Member
 
Registered: Aug 2008
Location: INDIA
Distribution: Redhat,Debian,Suse,Windows
Posts: 179

Rep: Reputation: 23
Quote:
Originally Posted by lil12 View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to create two users that share same dir plus vsftp access (Debian 6)? Vita Linux - Newbie 5 11-22-2012 09:03 AM
vsftp problem rich1000 Linux - Software 1 07-18-2006 03:52 PM
VSFTP Problem reythegreatdotcom Linux - Newbie 2 11-14-2005 07:29 AM
VSFTP on debian. How to configure it? goldfish Linux - Newbie 2 10-15-2003 10:00 AM
vsFTP problem v00d00101 Linux - Software 9 06-23-2003 01:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration