LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-29-2016, 07:11 AM   #1
Patric.F
Member
 
Registered: Feb 2010
Posts: 47

Rep: Reputation: 0
Proftpd: mkdir reports successful even if folder already exists


Hi,

I recently upgraded Debian to the latest 8.3 from 7.x.
Now when I logon to the ftp and try to create a folder that already exists I just get "Directory successfully created" when I expect it to give me an error that it already exists, as it did before the upgrade.

Does anyone know what's wrong here+
I tried to upgrade proftpd to the latest unstable just to see if it would fix it, but it didn't.

How do I fix this?
 
Old 01-30-2016, 03:59 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by Patric.F View Post
Hi,

I recently upgraded Debian to the latest 8.3 from 7.x.
Now when I logon to the ftp and try to create a folder that already exists I just get "Directory successfully created" when I expect it to give me an error that it already exists, as it did before the upgrade.

Does anyone know what's wrong here+
I tried to upgrade proftpd to the latest unstable just to see if it would fix it, but it didn't.

How do I fix this?
Hi,

I've done some tests and looks like that this happens only if the directory is empty. If there are files in the directory, it reports that "File exists".
So I guess it's a bug (or a feature!) and you could notify the maintainers to take care of it.
In the meantime, you could use vsftpd that doesn't do that and IMO it's a better ftp server

Regards
 
  


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
Duplicate folder creation while using mkdir in a script Jephgag Linux - Newbie 2 05-09-2015 09:22 PM
[SOLVED] mkdir a/b/c # where a/b does not exists. is it possible to create it ? anandg111 Linux - Newbie 8 06-19-2013 10:22 PM
[SOLVED] "sudo: Can't mkdir /var/run/sudo/%user%: File exists" CNBarnes Linux - Server 7 01-10-2011 04:11 PM
[SOLVED] line that checks if dir "TEST" exists. If so, nothing, of not mkdir Mike_V Programming 5 08-26-2010 08:44 AM
samba reports authentication successful but can't login matt1982 Debian 1 08-14-2005 09:08 AM

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

All times are GMT -5. The time now is 11:49 PM.

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