• Hi guys,

    Having troubles with the new wordpress from 3.7… Every upload folders have a 744 CHMOD I have to change it manually to 755…

    Even if wordpress create a new upload folder for december for example the CHMOD are wrong…

    How I can fix it ?

    Thanks a lot,

    Jhon

Viewing 7 replies - 16 through 22 (of 22 total)
  • Sure,

    “The default unmask setting is 755, it may refer to the permissions when a directory is created on our servers.”

    Just to mention that we have the same problem on one of our newly updated 3.7 (umask 022) one one of our server.

    It’s a bug. I haven’t yet found the precise error but the code of function wp_mkdir_p in wp-includes/functions.php was changed in 3.7. This breaks permissions of newly created upload directories (e.g. 2013/12). The permissions of files are inherited from the directory. So, the fact that they are wrong is just a consequence.
    Unfortunately, it seems, nobody has reported this bug yet ??

    Hello
    I had the same problem with directories created with 744 access rights.
    My server use suPHP, and switching umask to 0022 in file suphp.conf was the solution for me.
    I’ve to search now, a solution for wordpress sites which are on other hostings.

    Exact same problem here: the latest update to WP “broke” the permissions. And our host does not go around manually changing umask values. @schamane points out the bug above. Thought it would be fixed by now.

    It should have been fixed already but there was a bug in the fixes: https://core.trac.www.ads-software.com/ticket/26781
    It will be fixed in 3.8.1. If 3.8.1 is published before February, you are fine if you manually fix permissions of the 2014/01 directory (and all old files with wrong permissions).

    Thanks @schamane for the follow-up. I manually applied the fix, and it looks like we are good to go! I updated another site just today, and it appears the fix may have been applied to WP’s code since that site (on the same server, same WP configuration as well) is working perfectly.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘CHMOD new upload folders problem’ is closed to new replies.