FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: dragonkeeper1973 on July 08, 2006, 06:25:43 AM

Title: CHMOD saved with wrong permission and causing loss of owner ship...
Post by: dragonkeeper1973 on July 08, 2006, 06:25:43 AM
Admin,

I am trying hard to get my site up and running but I keep running in to this stupid problem. Every time I start to make the changes to get my site up, I end up losing owner ship to my files and directories. I use the ftp manager to chmod the files I need to and some how it Gert's set from 775 to 066 during the save process. I am then stuck having to run a script to take owner ship back but the script no longer works on your side of things.

I need help with this problem and you to please figure out why this keeps happening.

dragonkeeper1973
Title: Re: CHMOD saved with wrong permission and causing loss of owner ship...
Post by: admin on July 10, 2006, 10:05:46 PM
Check your chmod scripts.

The PHP chmod function accepts an OCTAL value not a DECIMAL value.  Please review more information on the php.net website.

Thank you,
FreePgs.com Admin
Title: Re: CHMOD saved with wrong permission and causing loss of owner ship...
Post by: boredman_007 on July 20, 2006, 02:43:07 AM
I am a newbie myself, but I have an idea...
If you are running a third party install script that is changing your CHMOD settings and do not fully understand what part of the script is doing this, a quick work around may be to log in to "manage files -> online file manager" and manually change permissions that way. This will only work if the script is only run during setup and not needed after this run once. If the script is run multiple times you will need to delve into the coding of the script and alter it to your needs. I ran into this during my ongoing learning process with third party php driven webbased game.

Hope I have been helpfull.