Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Web Development

Apache file permissions and ownership – A security issue

Good post? Please, share it...
Pin It

A Joomla developer asked on a forum: “I have a joomla site which is using linux hosting. when i am going to install a module, it is showing an error…

A Joomla developer asked on a forum: “I have a joomla site which is using linux hosting. when i am going to install a module, it is showing an error “* JFolder::create: Could not create directory* Unable to create destination”.”

Someone had suggested that this developer should change the file permissions temporarily to 777 (read/write for everyone), in order to get over this obstacle. I told him that “You should not set anything on the site to 777. Absolutely ALL directories should be 755 and files 644 (except a couple of crucial files in the root, which should be 444, for safety). Temporarily setting directories to 777 is a ‘worst case scenario’ solution and should only ever be used in serious emergencies. Permanently doing this is a total no-no! If the /temp, /administrator/modules and /modules directories are set to 755 and the log file path is correct, then the problem

Click the title, above, to continue reading […]