• Hi All

    Trying to get a Media Library Folder plug in working but keep getting the message

    error: Unable to create directory wp-content/uploads/2020/12. Is its parent directory writable by the server?

    The folder has the correct 755 permission which I have reset to be safe and also the correct user permissions from the ipsconfig account.

    If I just try to upload a file to the Media folder directly I get Failed to write file to disk.

    Any advise how to resolve as still seems to have the same error if I set 777 for the uploads folder

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, @glennbtn
    Have you tried setting the same permissions for subdirectories too?

    When you set 755 to wp-content, click on ‘Recurse into subdirectories’ checkbox and then select ‘Apply to directories only’ option.

    Additionally, you can set 644 for files. Click on ‘Recurse into subdirectories’ checkbox and then select ‘Apply to files only’ option.

    You can read more on that here

    Changing File Permissions

    Hope this helps!

    Thread Starter glennbtn

    (@glennbtn)

    Thanks for the reply @vladytimy

    I have redone the permission again but still have the same issues

    I have the same problem I changed the directories of wp-content to 777 but it has the same error:
    ” Unable to create directory wp-content/uploads/2020/12. Is its parent directory writable by the server?”

    In my case I was trying to upload the woocommerce plugin.

    drwxrw-rw- 5 root root 4096 Dec 9 18:22 wp-content

    root@www:/var/www/xxxxxx.com/wordpress/wp-content# ls -la
    total 24
    drwxrw-rw- 5 root root 4096 Dec 9 18:22 .
    drwxr-xr-x 5 root root 4096 Dec 9 17:55 ..
    -rwxrwxrwx 1 root root 28 Jan 8 2012 index.php
    drwxrwxrwx 3 root root 4096 Dec 8 23:13 plugins
    drwxrwxrwx 5 root root 4096 Dec 8 23:13 themes
    drwxrwxrwx 2 root root 4096 Dec 9 18:22 uploads

    Thanks and regards.

    • This reply was modified 3 years, 11 months ago by spulit.

    I had the same problem after moving the site to an other domain.
    Had to remove the upload_path in wp_options (phpmyadmin page 2)
    See https://www.youtube.com/watch?v=w6LOPiNZ6TE

    • This reply was modified 3 years, 11 months ago by GerardL.
    • This reply was modified 3 years, 11 months ago by GerardL.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is its parent directory writable by the server?’ is closed to new replies.