I am having problems with my permission setting in my home directory. I am using Ubuntu as a webserver and I have a number of wordpress websites.
The user I log into the system is “USER”
The home folder is titled “USER”
Inside the USER folder I have a folder titled “WEBSITE”
Inside the WEBSITE folder I have a wordpress website.
I have set up VFTP so I can update my wordpress files using FTP. I am using the USER name and password to do this. I am able to log into my website from another computer and update the files using the ftp services within wordpress in order to update the version of wordpress and the plug-ins.
The problem I am having is that I cannot upload a picture when I create a post.
Here is some more background information about my setup.
I have assign the name and group for all of my folder, located inside my USER/WEBISTE folder to so that everything is owned by www-data:www-data. I did this because I have been told that wordpress uses the www-data user and group which is the same user and group as Apache2 running on Ubuntu.
The permission settings for these folders are the following:
USER folder: Permission= 755, owner = USER:USER
WEBSITE folder: permission=755, owner = USER:USER
wp-content folder: permission= 755, owner = www-data:www-data
uploads folder: permission =775, owner = www-data:www-data
2011 folder: permission=775, owner = www-data:www-data
I am attempting to upload a picture from within wordpress to the USER/WEBSITE/wp-content/uploads/2011 directory.
I get an error message stating that wordpress cannot create the folder 02. Check your permission setting for the parent directory…..Apparently WordPress needs to create a month folder, titled 02 for February, for when you upload a new picture.
I am stumped on what might be preventing me from creating a folder. I even attempted to create the folder manually…which was successful. However, WordPress did not recognize the new folder. So I am not sure what is going on.
How do I setup WordPress so it can create folder, upload files and manipulate the website files?
Can anyone help?
- The topic ‘Folder permission on LINUX UBUNTU’ is closed to new replies.