I have a weird problem. I'm using ehosting.ca, Linux hosting. I have successfully installed Modx Rev. 2.2.2-pl traditional. I need to upload the local installation I was working on for my client now. However, for some reason the /core/ folder won't allow certain of its contents to be overwritten, or to be deleted from the server. I have recursively attempted to CHMOD all permissions to 777, however those same files that can't be overwritten or deleted, will also not allow their permissions to be changed.
I have attempted to delete the entire site and re-install, and the same issue persists. I have to move the /core/ folder outside of the main /www/ of my site, and that at least allows me to move the folder away. I've just realised I can do that again and re-upload the /core/ to my FTP. But why are these files "sticking"? Should that be happening? Is it something to do with my host, rather than the installation?
Thanks for the help. I think I'll try to the PHP method... yes, it's a shared server and they don't allow SSH access. Moving hosts is also not an option, as I already asked the client and they declined. Okay, will try the PHP script method.
-
☆ A M B ☆
- 2,213 Posts
If the files/folders are owned by another user, the only way to change them is to interact with them as that user or a higher (root) user.
If you ask your hosting provider they should be able to check and/or correct the ownership permissions for the affected files/folders. If not I would highly recommend changing hosts to one who can correct server problems. If they can't correct a simple ownership issue what happens if you have a bigger issue?
Anyways, let us know how things work out.