1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

FTP accounts and User Permission HELP

Discussion in 'Apache' started by point2, Feb 20, 2014.

  1. #1
    My apache VPS is having a minor problem.

    Using SSH, I gave permission to my FTP username with code below:
    chown -R user:ftpgroup /home/site

    But my WP theme needs to set up that user I use is rewritable and use this code:
    chown -R www-data:www-data /home/site

    since using a php code to check WP user and it shows www-data.

    MY PROBLEM:
    I need my FTP to able to write cause i use plugin to create backup and change plugin. My theme also need for both to work.

    I can't seem to make run together. I can change group or FTP as long as I can have m WP working. Any suggestion as to what I need to create?
     
    point2, Feb 20, 2014 IP
  2. point2

    point2 Active Member

    Messages:
    698
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    75
    #2
    Do you guys know any code using SSH on how to make my FTP user as a site user as well? really tried everything here.
     
    point2, Feb 22, 2014 IP
  3. ElizabethKonig

    ElizabethKonig Active Member

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #3
    You are setting ownership not permission. What about to set ownership to www-data.ftpgroup?

    To change permissons use chmod.
     
    ElizabethKonig, Feb 23, 2014 IP