Directory Permissions Directory Permissions
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Directory Permissions

Started by edwurster, August 29, 2004, 04:34:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

edwurster

What should permissions be after you have installed Coppermine, and are running successfully? I'm speaking of the various directories such as: albums, bridge, doc, images, include, lang, sql, themes. Also, should all permissions on php files in the top directory be 644?

I've searched the forum and read the docs, but would like to have a clear direction, as I want to check the various installs I've done, and make them as secure as possible.

Ed

Joachim Müller

coppermine needs read and execute permissions to all files with the coppermine folder, it needs write permissions to the albums folder and everything within it. How to actually CHMOD depends on your webserver's settings, usually 644 for the coppermine folder and everything within it and 755 for the albums folder and everything within it is the best bet.

Joachim

spikeswife

Changing the coppermine directory to 644 made it a forbidden directory for me.  I had to change it back to 755 which was the default setting when it was uploaded.

rostros

Does not really matter really aslong as there not all 777, I know you need the Include Folder and Albums set to 750 or 777 tho.

Casper

The include folder only needs to be writable during the actual install, after that, it can be the same as the other general folders.
As Gaugau said, the albums folder, and all folders in it, need to be writable by the script, either 755, or 777, depending on server setup.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here