• Resolved pmatos

    (@pmatos)


    Hello all,

    I’ve installed wordpress several times in several different hosts. This time I came accross the same problema and this time I can’t solve it. Uploads are failing:
    Unable to create directory /home/pocm06r/public_html/personal/wp-content/uploads/2008/01. Is its parent directory writable by the server?
    I’ve created uploads myself and I’ve even chmod it to 777 (even though I know it’s not safe). Still doesn’t work. It’s not able to create 2008/01. They still don’t exist!

    So, Is it possible that is the server that doesn’t allow writing (I don’t own the server, it’s a univ. server)?
    Here’s the phpinfo: (can I get any info about it from here?)
    http://users.ecs.soton.ac.uk/pocm06r/phpinfo.php

    Any suggestions are welcome.

    Cheers,

    Paulo Matos

Viewing 5 replies - 1 through 5 (of 5 total)
  • You may need to make wp-content be 777 as well.

    Thread Starter pmatos

    (@pmatos)

    Even with wp-content as 777 I can’t get it to work. Same error message, folder 2008 gets created but then it can’t create 01, probably because of 2008 permissions:

    $ ls -lad 2008
    drwxrwxrwx 2 apache 48 2 Jan  7 16:25 2008

    I would guess apache is the username of the server that created the folder and 48 is some random group. However, it is set 777. How come it can’t create directory 01?!?

    On my shared hosting account, I am the owner, not apache, of the wordpress folder and sub-folders.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    To answer your question, yes it is indeed possible for your server to be configured to do this when creating new folders and such. Usually it’s accidental instead of intentional.

    One possible option is to go to the Options->Miscellaneous screen and turn off “Organize my uploads into month- and year-based folders”. Then it won’t need to create those folders.

    Thread Starter pmatos

    (@pmatos)

    Thanks all, it’s working using Otto42 suggestion. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Is it possible server doesn’t allow writing?’ is closed to new replies.