WordPress.org

Ready to get started?Download WordPress

Forums

File permissions (7 posts)

  1. jimbolad
    Member
    Posted 9 months ago #

    Hi,

    I have a new wordpress install and was having a few problems uploading a new theme and any media. After a bit of research I figured it was to do with file permissions. To solve the problem I changed the uploads directory file permission to 757 and everything else remained the same.
    My question is, is using 757 a safe / secure way of doing things? Will my site be at risk if I keep this permission because it would be a complete pain in the ass having to keep changing the file permission every time I wanted to upload new media?

    Thnaks

  2. kmessinger
    Volunteer Moderator
    Posted 9 months ago #

    You should have 755 for directories and 644 for files.
    http://codex.wordpress.org/Changing_File_Permissions

    Usually after you change it and it works, changing the upload folder back still works.

  3. leejosepho
    Member
    Posted 9 months ago #

    I have never heard of permissions being an upload problem with a new installation, but some hosts do have limits for file sizes. You might want to look into that more closely before things become convenient for hackers.

  4. ClaytonJames
    Member
    Posted 9 months ago #

    I have never heard of permissions being an upload problem with a new installation,

    I think it might be a common issue in environments where files and directories may not be owned [and] group-owned by the user account. That probably results in WordPress not being able to create the upload directory.

    site:wordpress.org/support is the parent directory writable by the server

  5. leejosepho
    Member
    Posted 9 months ago #

    Now I have heard, and I thank you!

  6. jimbolad
    Member
    Posted 9 months ago #

    Thanks for reply guys, I have uploaded my theme and some images to the site now using the permission 757, but my question was is this safe? I can change back to 755 once they are all uploaded but it is just very annoying having to change the permission on the upload folder every time I want to add a new image?

  7. leejosepho
    Member
    Posted 9 months ago #

    I think that might be what kmessinger had mentioned:

    Usually after you change it and it works, changing the upload folder back still works.

Reply

You must log in to post.

About this Topic