Chmod for ImageMagick in SSH Chmod for ImageMagick in SSH
 

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

Chmod for ImageMagick in SSH

Started by BigKid, May 24, 2005, 11:57:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BigKid

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?


Abbas Ali

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?
Chief Geek at Ranium Systems

BigKid

Quote from: Abbas Ali 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?

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.

kegobeer

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

Quote
When I go to the ImageMagick directory (usr/local/bin) ...
and
Quote from: BigKid on May 24, 2005, 04:15:02 PM
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

Quote from: nol33t on May 25, 2005, 03:01:29 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?
Chief Geek at Ranium Systems

BigKid

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