User Avatar
Problem with access rights to Upload folder (2 posts)

  1. Wlkus
    Posted 4 years ago #

    I just installed User Avatar and it gave me error in activation phase that it is unable to create folder wp-content/uploads/avatar. So I created it manually with 755 rights and next time UA activated correctly. Problem is, that when I try to upload picture, it says that it is unable to move it to folder wp-content/uploads/2011/10 9actual year/month folder. I suppose it is because of access rights there, I have also 755 set on this folder. It is really not recommended to use 777 rights with write permissions, is there any other solution to make UA work?


  2. enej
    Plugin Contributor

    Posted 4 years ago #

    Hi Wlkus
    I am not sure how you have your server configured. But usually you have a apache user set, that is able to write to your upload director using php. If you go and created a folder yourself and you set the folder to 755. you are not letting the apache user create folders and write files any more. So what you have to make sure is that the apache user has the right permissions to the folder.

    It seems that this is your case. What you will have to do is change who the owner of the uploads folder is. It should be set as apache. In other words if your webserver is not able to write to the avatars folder user avatar is not able to write to it as well. Please take a look at http://codex.wordpress.org/Changing_File_Permissions for an even better explanation.

    I hope my answer helps solve your problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Avatar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic