1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Additional FTP Accounts Error

Discussion in 'Plesk 11.x for Linux' started by ZieglerM, Jun 18, 2012.

  1. ZieglerM

    ZieglerM Basic Pleskian

    14
    35%
    Joined:
    Jun 13, 2011
    Messages:
    41
    Likes Received:
    0
    Good Morning,

    unfortunately i ran into another problem when trying to add additional FTP account:

    - log in to Plesk as a customer
    - starting file manager and adding a new directory "/private/foo"
    - adding a new FTP account "user: foo" "homedir: /private/foo"

    after submitting the form i get the error message

    "Error: There are FTP accounts linked to nonexistent physical directories."

    i'm able to connect with user "foo" but with chroot "/private".

    #ls -al private/
    drwx------ 3 <user> psacln 4096 Jun 18 10:33 .
    drwxr-xr-x 16 root root 4096 Jun 16 09:13 ..
    drwxr-xr-x 2 <user> psacln 4096 Jun 18 10:33 foo

    Any ideas please?

    Thanks, Martin
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    As per the permission of private folder in the document directory, the ftp users are not having privilege to the access 'private' folder. This is the reason why we are getting this error.

    Hence, to fix the issue, I recommend you to use location other than 'private' folder while creating user..

    For example, you can use 'httpdocs' for creating the account. It is having sufficient permission.
     
  3. ZieglerM

    ZieglerM Basic Pleskian

    14
    35%
    Joined:
    Jun 13, 2011
    Messages:
    41
    Likes Received:
    0
    I have no problem creating the folders in another location. I'm just wondering, because i used the private folder on Plesk 10 for a long time without issues.

    Anyway, thanks for the quick reply.
     
  4. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    FTP Issues

    ZieglerM,

    Much as you get that error in Plesk, the actual tasks are actually executed. Ie, the foo user is created and yes, you can create the folder and yes if you use the foo ftp username and its password you can upload files to the /private/foo/ folder.

    I tested it here, and it worked fine for me ...
     
  5. ZieglerM

    ZieglerM Basic Pleskian

    14
    35%
    Joined:
    Jun 13, 2011
    Messages:
    41
    Likes Received:
    0
    i just added a directory "ftp" and everything works. that's fine for me.
     
  6. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    Alright then.
     
  7. Toxalot

    Toxalot Basic Pleskian

    14
     
    Joined:
    Oct 12, 2012
    Messages:
    70
    Likes Received:
    0
    I'm having the same problem. I created a directory in private and set that as the new FTP user's home directory. I get the error "Error: There are FTP accounts linked to nonexistent physical directories."

    But the FTP account works and the user is jailed into the home directory.

    Can I safely ignore the error?

    I don't want the user uploading to something in httpdocs. This FTP account is so we can receive large files privately from clients. If I made the directly inside the document root, then I'd have to password protect it. This saves a step and doesn't clutter the document root.
     
Loading...