File Upload Failure > Permissions

Permalink
Hello all,

I've been through just about every related discussion on the forum and can't get a handle on what has become a rather frustrating issue.

My site is running locally, no problem there. After deploying to my host (Crazy Domains) every time I attempt to upload a file I'm shown a permission error... It's getting a little old.

I've changed the upload folder path (currently set to /public_html/files/) to everything (including the home directory - /home/gordicom/), created a test upload folder, ensured the permissions are set to 777, checked that safe mode = off. All this and no luck.

Before I start speaking with my host does anyone have ANY idea what could be the matter?

Thanks in advance.

@rrfive

1 Attachment

 
formigo replied on at Permalink Reply
formigo
You probably have done this but make sure you set the permission on the files subfolders too (recursively)

If you have command line you'd do:

chmod -R 777 folder
rrfive replied on at Permalink Reply
Thanks Formigo. I'd set the permissions as you suggested (earlier in the day) but it didn't seem to help. In the end I deleted just about every folder within the 'files' directory and that solved the problem. In hindsight I'd read that instruction before I started the deployment process but likely glossed over it.
perrynewton replied on at Permalink Reply
I am going crazy with the same process. I have read loads of postings on this subject and still can't get it to work.
I have
1. removed all directories under /files
2. set ALL chmod to 777
3. Cleared the cache
etc
etc
and whatever technique I use to upload files I still get
"Unable to copy file to storage directory. Please check permissions on your upload directory and ensure they can be written to by your web server"

Why can't we just FTP the images like most up web CMS systems.