Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Chmod for ImageMagick in SSH  (Read 4056 times)

0 Members and 1 Guest are viewing this topic.

BigKid

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Chmod for ImageMagick in SSH
« on: May 24, 2005, 11:57:05 am »

I have searched all over the place for about 2 weeks trying to figure this out.
I hope this place can help me.

I'm trying install Coppermine Photo Gallery on my site but I don't understand how to chmod the directory needed for ImageMagick to work.
I can't chmod it with a FTP program because usr/local/bin doesn't show up in it. It only shows up when I log in through SSH with Putty.exe

When I go to the ImageMagick directory (usr/local/bin) and type in the convert command to test ImageMagick (convert logo: logo.gif) I get the error unable to open image 'logo gif': permission denied

So my question is..

What is the exact command I need to type into my SSH or Telnet program to give permissions to ImageMagick?

I've tried (chmod 777 usr/local/bin/) but that doesn't seem to work.
What exactly do I type in to make it work?

« Last Edit: May 30, 2005, 08:05:23 am by GauGau »
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Chmod for ImageMagick in SSH
« Reply #1 on: May 24, 2005, 02:16:05 pm »

Where do you read that you need to chmod imagemagick directory for coppermine to work?

You are just required to chmod include, albums, edit and userpics directory and nothing else.

I can't understand why you are chmod'ing imagemagick directory?
Logged
Chief Geek at Ranium Systems

BigKid

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Chmod for ImageMagick in SSH
« Reply #2 on: May 24, 2005, 04:15:02 pm »

Where do you read that you need to chmod imagemagick directory for coppermine to work?

You are just required to chmod include, albums, edit and userpics directory and nothing else.

I can't understand why you are chmod'ing imagemagick directory?

Simple.

Because when I try to install Coppermine Photo Gallery I get the error message :
The installer can not find the 'usr/local/bin/' directory you have specified for ImageMagick or it does not have permission to access it. Check that your typing is correct and that you have access to the specified directory.

Also, when I try to run the Convert option on my server I get the same type of error:
Permission Denied

It appears to me that I do not have access rights, nor does Coppermine, to the convert program on my server.

I can't think of any other reason as to why Coppermine won't install and ImageMagick won't let me use the convert program.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Chmod for ImageMagick in SSH
« Reply #3 on: May 25, 2005, 01:14:56 am »

I would ask your host to look into your ImageMagick problem.  You might also want to try the ImageMagick forums, as they are much better suited to help you with this.

PHP usually comes bundled with GD2 - you can always use that instead of ImageMagick.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

nol33t

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 244
  • Exploring Coppermine in every directions
    • tieum's pics
Re: Chmod for ImageMagick in SSH
« Reply #4 on: May 25, 2005, 03:01:29 am »

Quote
When I go to the ImageMagick directory (usr/local/bin) ...
and
Simple.

Because when I try to install Coppermine Photo Gallery I get the error message :
The installer can not find the 'usr/local/bin/' directory you have specified for ImageMagick or it does not have permission to access it. Check that your typing is correct and that you have access to the specified directory.

maybe you just did a typo in your post but just in case..there are chances it's /usr/local/bin/ , not usr/local/bin/..

-matt-

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Chmod for ImageMagick in SSH
« Reply #5 on: May 25, 2005, 10:21:31 am »

maybe you just did a typo in your post but just in case..there are chances it's /usr/local/bin/ , not usr/local/bin/..

Yes that might be the problem. So make sure that your enter /usr/local/bin/

Also are you sure that convert program is in /usr/local/bin/ directory?
Logged
Chief Geek at Ranium Systems

BigKid

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Chmod for ImageMagick in SSH
« Reply #6 on: May 25, 2005, 09:36:15 pm »

Thanks guys, you were correct.
I tried /usr/local/bin and the installation went through.

Strangly, ImageMagick seems to work just fine with Coppermine now.
All the other times when I made succesful installs ImageMagick would not work.

Anyway, what's done is done and Coppermine is installed.
I think the problem I had the other times were the permissions settings for userpics and albums were 755 instead of 777.
I made sure and changed them to 777 this time and everything seems to work just fine.

Thanks guys and have a great week. ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.