755 or 777 for file permissions? 755 or 777 for file 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

755 or 777 for file permissions?

Started by texmex, June 09, 2004, 02:59:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

texmex

Should the file permissions that Coppermine installs be set to 755 or 777?  Is it safe to set them all globally like that or should certain files have file permissions other than 755 or 777?

Joachim Müller

755 is more secure than 777 (generally speaking), but usually you have no choice - chose 755 if it works for you on your server, if it doesn't, choose 777.
The script needs write access in some places, that's why you have to CHMOD. If you're paranoid, you could CHMOD the include folder back to 644 once your install went successfully and the config file has been created.

GauGau