Problems with permissions after upgrade

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
shotb1
Forum Members
Forum Members
Posts: 11
Joined: Sun Oct 22, 2006 7:07 pm

Problems with permissions after upgrade

Post by shotb1 »

Hi,

My website and database are currently hosted.

I have upgraded from 1.04 to 1.06 today but now I am no longer able to upload any modules with the following message:

WARNING: Insufficient directory permissions to install modules. You may also be experiencing problems with PHP Safe mode. Please ensure that safe mode is disabled, and that file system permissions are sufficient.

I have attempted to change the permissions to 777 but I am now getting a 550:permission denied when attempting to change permissions on the modules folder.

Any ideas please??  >:(
Pierre M.

Re: Problems with permissions after upgrade

Post by Pierre M. »

Hello,

do you know if your hosting provider has enabled PHP "safe mode" (or another user anonyance mode) ?
How have you "attempted to change the permissions to 777" and "who" is giving you a "550:permission denied" error message ?
There could be a problem about the difference of user between you (your account) and the webserver. FTPed files don't belong to the same user as uploaded ones. upload/XML module installation may not be as flexible as FTP/SSH.

Pierre M.
shotb1
Forum Members
Forum Members
Posts: 11
Joined: Sun Oct 22, 2006 7:07 pm

Re: Problems with permissions after upgrade

Post by shotb1 »

Thanks for your reply,

I attempted to change the permission via my FTP program (smartftp) and got the 550:permission denied error.

I have only come across this problem since I upgraded, I dont know if this is due to higher security on the newer version of CMS.
Pierre M.

Re: Problems with permissions after upgrade

Post by Pierre M. »

Somebody else couldn't chmod to 777 due to hosting restrictions. Try 775 instead. It depends of the hosting.

What are the folders and files you can't chmod 777 ?
And who (which system user) owns them ?

Pierre M.
shotb1
Forum Members
Forum Members
Posts: 11
Joined: Sun Oct 22, 2006 7:07 pm

Re: Problems with permissions after upgrade

Post by shotb1 »

I have now been able to 777 all of the folders but still getting the following message on module manager

WARNING: Insufficient directory permissions to install modules. You may also be experiencing problems with PHP Safe mode. Please ensure that safe mode is disabled, and that file system permissions are sufficient.

:-[
Pierre M.

Re: Problems with permissions after upgrade

Post by Pierre M. »

What has changed that makes you now can chmod 777 ?

What are the files and folders that caused problem ?
Which user do they belong to ?

May be the problem is about file owning : your user account is not the shared webserver itself. Files created "inside" the software (via admin) are owned by the webserver and your user cannot chmod them.

To prevent this owning issue, you should try installing modules the old way, "by hand", with your SSH/FTP program, and not inside the manager...
...if not advised otherway by someone else because I'm not a module install expert.

Pierre M.
jfleite

Re: Problems with permissions after upgrade

Post by jfleite »

verifies the permissions of the "upload" directory
Post Reply

Return to “CMSMS Core”