WordPress.org

Ready to get started?Download WordPress

Forums

wordpress permissions (4 posts)

  1. iranage
    Member
    Posted 1 year ago #

    No matter what I do I can only use wordpress with 777 permissions.
    After months of trying I finally figured out how to use my ftp username and password to login. However it still wont let me upload/update anything from the gui without a 777 file permission. I've been hacked 2 times in the last 2 days, and I know more is coming. Any help or advice would me appreciate

  2. iranage
    Member
    Posted 1 year ago #

  3. moh3003
    Member
    Posted 1 year ago #

    It looks like you are using apache2, the standard user that apache runs as is ww-data you will need to ensure www-data has recursive read + write privileges to the uploads directory.

  4. moh3003
    Member
    Posted 1 year ago #

    If you have ssh access to the server you can run the following on the the uploads directory :
    chown -R username:www-data && chmod -R g+rw uploads

    Please note the username section will be your ftp username.

Topic Closed

This topic has been closed to new replies.

About this Topic