Want to subscribe to topics you're interested in?
Become a Member

How do I change permission of the FTP user?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Afaq, Nov 20, 2015.

  1. Afaq

    Afaq Member

    81
    3
    8
    Aug 5, 2015
    Ratings:
    +5
    Local Time:
    11:39 PM
    When you create a new vhost, it creates an FTP user for that domain as well. However, I've just noticed that this user doesnt seem to have write permission in that domain's directory. How do I change that?

    Thanks.

     
  2. eva2000

    eva2000 Administrator Staff Member

    55,189
    12,251
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,829
    Local Time:
    4:39 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    The pure-ftpd virtual ftp user is locked to /home/nginx/domains/domain.com/ and below and you can see the specific details including how to use pure-pw command tool at Beta Branch - Centmin Mod .08 beta + pure-ftpd virtual FTP user support | Centmin Mod Community

    but by default you should have access to /home/nginx/domains/domain.com/ and below it where domain.com is your domain

    edit: double checked and i have no problems using pure-ftpd virtual ftp user login to create directories and upload files to /home/nginx/domains/domain.com/
     
    Last edited: Nov 20, 2015
  3. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    2:39 AM
    Mainline
    10.2
    Yes unless they started creating some folders using root user I think.