Advanced search  

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

Pages: [1]   Go Down

Author Topic: 777 is too much!  (Read 5559 times)

0 Members and 1 Guest are viewing this topic.

MilchstrabeStern

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
777 is too much!
« on: September 22, 2004, 02:14:45 am »

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?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: 777 is too much!
« Reply #1 on: September 22, 2004, 02:25:35 am »

Try 755
Logged

MilchstrabeStern

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: 777 is too much!
« Reply #2 on: September 22, 2004, 03:51:46 am »

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.
Logged

CapriSkye

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Posts: 126
    • 森林之原
Re: 777 is too much!
« Reply #3 on: September 22, 2004, 04:40:39 am »

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
Logged

MilchstrabeStern

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: 777 is too much!
« Reply #4 on: September 22, 2004, 06:02:13 am »

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.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: 777 is too much!
« Reply #5 on: September 22, 2004, 01:59:35 pm »

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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: 777 is too much!
« Reply #6 on: June 06, 2005, 06:07:59 pm »

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
« Last Edit: June 06, 2005, 06:15:04 pm by sNiXx »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 777 is too much!
« Reply #7 on: June 07, 2005, 06:25:11 am »

ask your webhost how to chmod then.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.