albertknox
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Ownership of folders created in /wp-content/uploads/I don’t have permission to delete it either. Oh well, I guess it’s just something I have to live with. Next time I will make the folders ahead of time so WP won’t create it.
Thanks for your help.
Forum: Fixing WordPress
In reply to: Ownership of folders created in /wp-content/uploads/Thanks for the response.
I can’t chmod because I (myusername) don’t have permission to change/access these WordPress created folders owned by user “httpd” in anyway. I asked my web host’s opinion and they replied:
“As for the uploads directory, it was likely created or edited by the WordPress script, which runs as Apache’s user httpd. This can sometimes cause the folders to be owned by httpd, and not your user.”
I would like access to access these folders to delete files or add images directly. Also when I tried to upload a non-image file through WordPress it would not let me, saying, “File type does not meet security guidelines. Try another.”
Forum: Fixing WordPress
In reply to: file permissions/ownership and FTPJust another quick question out of curiosity, why did the WordPress script set the permissions of the cache folder at 727? It seems weird to give full permissions to the public but restrict access to the group.
I think since “myusername” is under the group permission that is why I could not access it.
Forum: Fixing WordPress
In reply to: file permissions/ownership and FTPThanks for the help Otto42. I looked around the other directories and only the uploads folder and cache folder had the owner set as “httpd”. I guess I will ask my webhost tech support to reset everything to “myusername” ownership.
My understanding of what files and directories should have what permissions is still kind of vague. I know things have to be permissive enough to allow others to view your web page, but not enough to meddle with anything.