file permissions and ownership again

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
jan_hut
Forum Members
Forum Members
Posts: 60
Joined: Sat Jul 01, 2006 1:48 pm

file permissions and ownership again

Post by jan_hut »

Does anyone know why all files and dirs that are installed or changed by login in, for example when modules are installed through xml, are owned by the system instead of the user? The UID and GUI for these dirs are set to "apache" rather then me, the user. I assume files are set to that as well but since I can't list them :-(
Hare
Forum Members
Forum Members
Posts: 87
Joined: Sat Jun 03, 2006 11:46 am

Re: file permissions and ownership again

Post by Hare »

Because that's just the way linux/unix hosts work. The files are saved by Apache (the server itself) so they have apache as their creator.

You can find more information in the manual. You can change the user/permissions from the modules menu.

Why does the server run as apache? Because of security issues. A more detailed answer can be googled :)
jan_hut
Forum Members
Forum Members
Posts: 60
Joined: Sat Jul 01, 2006 1:48 pm

Re: file permissions and ownership again

Post by jan_hut »

thanbks for the quick reply! I changed umask to 000, which seem to work on some installs, but not on all. I installed a template and it's images are viewable by ftp. I installed another one and it's images dri is not listable.......weird that it works for some installs and some not.


Changing permissions seems to be an issue.......
Couldn't change permissions on some files (Troubleshooting)
Last edited by jan_hut on Thu Jan 18, 2007 2:49 pm, edited 1 time in total.
Post Reply

Return to “CMSMS Core”