777 is too much! 777 is too much!
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

777 is too much!

Started by MilchstrabeStern, September 22, 2004, 02:14:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MilchstrabeStern

I cant really do much, like batch adding or anything cause my permissions for public_html can not be 777, thats a huge security risk for a website. My folder for coppermine and everything  within in it is 777. But public_html is 750, what can i do?

Tranz


MilchstrabeStern

Tried it, wont work, no picture shows up on the right when i try doing bath add files. So i follow the broken link like it says, and the php error i get is:

Warning: imagejpeg(): Unable to open 'albums/2003/ASUbigimages/thumb_ASU_03ASU005.jpg' for writing in /home/mplionhe/public_html/photoadmin/include/picmgmt.inc.php on line 218

Warning: chmod(): No such file or directory in /home/mplionhe/public_html/photoadmin/include/picmgmt.inc.php on line 224

Warning: getimagesize(albums/2003/ASUbigimages/thumb_ASU_03ASU005.jpg): failed to open stream: No such file or directory in /home/mplionhe/public_html/photoadmin/include/picmgmt.inc.php on line 226
Unable to create thumbnail or reduced size image.

CapriSkye

i found this interesting post by unknown at smf, maybe you want to read it.
http://www.simplemachines.org/community/index.php?topic=2987.0

MilchstrabeStern

This helps, somewhat, but still should I make my public_html folder 777 or not? Cause that seems to be the only way I can get around this issues.

Casper

No you don't have to make your public_html folder 777.

Just the albums folder, and all folders in it.  Also, during install, the include folder. 

This is not a security risk, if it was, we would have hundreds of complaints of sites being hacked through coppermine.  We have NONE.
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

sNiXx

#6
I get the same problems:

Warning: imagejpeg(): Unable to open 'albums/xxx/thumb_yyy.JPG' for writing in /home/www/web117/html/Gallery/cpg133/include/picmgmt.inc.php on line 218

Warning: getimagesize(): Unable to access albums/xxx/thumb_yyy.JPG in /home/www/web117/html/Gallery/cpg133/include/picmgmt.inc.php on line 226

Warning: getimagesize(albums/xxx/thumb_yyy.JPG): failed to open stream: No such file or directory in /home/www/web117/html/Gallery/cpg133/include/picmgmt.inc.php on line 226
Kann Thumbnail nicht erzeugen.

I thought the problem might be CHMOD, but I can't change it for the folders I made myself:

500-'SITE CHMOD 777 xxx' not understood.
500 SITE not understood.

All other folders are 777

Joachim Müller

ask your webhost how to chmod then.