What permission scheme do you use normally? (6 posts)

  1. xzoom
    Posted 3 years ago #

    I would like to know how you deal with the issue of owner / permissions for wordpress multisite.

    Regarding this documentation: http://codex.wordpress.org/Hardening_WordPress#File_Permissions


    Some neat features of WordPress come from allowing various files to be writable by the web server. However, allowing write access to your files is potentially dangerous...

    It is best to lock down your file permissions as much as possible and to loosen those restrictions on the occasions that you need to allow write access...

    What permission scheme do you use normally? Do you change file permissions each time you need to update or install something from wordpress? Or do you update from sftp and you never do anything from wordpress?

    Thanks a lot!

  2. I update from SFTP. My htaccess is locked so I have to edit it manually, though.

  3. xzoom
    Posted 3 years ago #

    Then, if you update from sftp, you think the best security is to lock down file permissions, so that wordpress can't modify files as automatic wordpress update or automatic update for plugins.

    Administrators act differently when update wordpress. I wonder what is the safest way.

    Thanks a lot!

  4. Well. No. I'd let WP do the updates. It's also using SFTP, so it's pretty safe.

  5. xzoom
    Posted 3 years ago #

    Ah ok! I could never run that. I enter my sftp user and gets the following error:

    Failed to connect to FTP Server servername:21

    How can I change the port? (21 is closed, surely that is the problem)


  6. xzoom
    Posted 3 years ago #

    Ok I see... you can use cosntants in wp-config.php! I will try.

    thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.