Need file permissions permanent help page ! - Joomla! Forum - community, help and support


greetings,

i spent hours trying figure out why core search component joomla! 1.0.11 didn't work me.

i did quite bit of debugging of components/com_search/search.php , isolated problem.

then search forums , found many other people had same problem, , none found
a resolution it, except re-uploaded files , problem disappeared.

i found source of error... file permissions.

i set whole tree 777 , error went away.

the problem is:  1) web-based installation didn't catch this, 2) best effort @ setting file permissions didn't catch this, 3) joomla! backend admin system/permissions tab didn't catch this.

you can read details of ugly problem, including dead code in search.php, here:  http://forum.joomla.org/index.php/topic,114271.0.html

i think it's high time permanent page devoted file permissions.  sources set whole tree 755.  others set 775, folders set 707.  sources set permissions recursively (on subfiles , subfolders). 

this whole issue seems generate endless headaches people installing.  myself followed web-based installation, had set more permissions ran site , encountered errors.  hit or miss!

it's huge security issue, no?

we need place explained , great have shell script go out , set proper, official, security-cleared permissions in whole tree.

maybe official permissions page @ top of installation forum.

viva la joomla!

jc

i created script set permissions, shown below. 
executed root of joomla! tree.
the search component bug doesn't show these settings. 
if knows better regarding these settings, please let know.

thanks,
jc


chmod -r 755 *
chmod 744 configuration.php
chmod 777 administrator/backups
chmod 777 administrator/components
chmod 777 administrator/modules
chmod 777 administrator/templates
chmod 777 components
chmod 777 images
chmod 777 images/banners
chmod 777 images/stories
chmod 777 language
chmod 777 mambots
chmod 777 mambots/content
chmod 777 mambots/editors
chmod 777 mambots/editors-xtd
chmod 777 mambots/search
chmod 777 mambots/system
chmod 777 media
chmod 777 modules
chmod 777 templates
chmod 777 cache


;)





Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support