Chmod at installation? Topic is solved

General project discussion. NOT for help questions.
Post Reply
Bubble

Chmod at installation?

Post by Bubble »

I'm using CMS Made simple for a while now, but there's one thing I don't understand..

When you install CMSMS, the installation cannot start, when certain directories and files are not CHMODded to 777. you have to do this by FTP, by hand. Why doesn't CMSMS do this for you? It can be done easily with the PHP function CHMOD (http://www.php.net/chmod).
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Chmod at installation?

Post by Ted »

The web server is running as a different user with a whole different set of permissions.  Only the owner of a file can chmod, and since your user and the web server's user aren't the same, you're stuck doing it by yourself.  This is a good thing though.  You don't want other users (even if they're system users) changing your files.
Post Reply

Return to “General Discussion”