file permissions in your htdocs/tikiwiki directory
hi guys, i'm just wondering, what are the permissions for the files like in your tikiwiki directory?
i know the installation instructions didnt mention "su"-ing to a normal user (or a particular user) before extracting the tarball, but i'm sure that's always fixable with a 'chown -R'.
But that just caused me to think - from a security point of view, what should be the best permissions for the files in the directory (excusing the directories that 'setup.sh' creates, and the files that the wiki itself creates)?
for eg. -
my 'ls -l' in my tikiwiki directory -
-------
total 2258
-rw-r--r-- 1 1001 1001 3777 Aug 1 2003 INSTALL
-rw-r--r-- 1 1001 1001 1133 Nov 21 11:29 README
-rw-r--r-- 1 1001 1001 1375 Jan 5 23:17 article_image.php
drwxrwsr-x 2 nobody nobody 72 Feb 7 19:54 backups
-rw-r--r-- 1 1001 1001 831 Dec 13 08:32 banner_click.php
-rw-r--r-- 1 1001 1001 1028 Dec 13 08:32 banner_image.php
-rw-r--r-- 1 1001 1001 1462 Nov 15 18:17 categorize.php
-rw-r--r-- 1 1001 1001 1448 Aug 6 2003 categorize_list.php
-rw-r--r-- 1 1001 1001 73932 Jan 30 07:39 changelog.txt
-rw-r--r-- 1 1001 1001 11213 Jan 16 07:28 comments.php
...
-----
My apache is running as nobody. Can i, and should i say 'chown root:nobody (files)' and 'chmod 640 (files)'?
thanks for any guidance on this.