Page 1 of 1

Permission denied...?

Posted: 2012-04-02T00:12:09-07:00
by indiconvert
Hello,

I'm new to this... When I try to convert an image under Ubuntu 11.10 using the Terminal I get e.g.

test.png: Permission denied

I get this with both mogrify and convert.

Since I am not really familiar with the command line, I don't know if this is an Ubuntu permission problem or if what I write in the Terminal is not quite right.

What I do:

- drag/drop the first image from the folder I need to be converted to the Terminal for getting the right path
- and after that I add: />mogrify -format png *.dpx

The result is always Permission denied. I also tried to deinstall, restart, reinstall ImageMagick.

Any ideas? Thanks!

Re: Permission denied...?

Posted: 2012-04-02T21:06:02-07:00
by anthony
It means your file permissions are not correct either for the action (trying to execute an image!) or simple reading.

Not just for the file but also the directory!

A long list EG: ls -l will show permission flags.
You change them using chmod.

See the man pages for these command eg: man chmod

You may also like to consider a beginning UNIX tutorial (there are lots of them on the net!)

Re: Permission denied...?

Posted: 2012-04-03T01:27:31-07:00
by indiconvert
Thanks for the answer!

Unfortunately for me this probably means I will have to get my .dpx files converted by someone...

For the developers: I am working under Ubuntu 11.10 that came preinstalled on the System 76 laptop that I got a couple of months ago. I did not make any significant changes to the system in terms of permission as far as I am aware of (I did only security updates and installed some basic software). It would be really helpful if ImageMagick was to work out of the box without having to deal with Linux permission problems first, having to use the terminal for image conversion is already quite adventurous...

So thanks again for the answer!

Re: Permission denied...?

Posted: 2012-04-03T17:58:05-07:00
by anthony
The permission failure is not with ImageMagick...
It is with your image data file.
It would not matter what software you are using the permission problem will still remain!