CR2 delegate fails, but not when using sudo
Posted: 2011-03-24T08:29:26-07:00
Hi, I'm running IM and ufraw from MacPorts on OSX10.6.
If I run this command with 'sudo', it works...
/opt/local/bin/convert '/Volumes/Data/Documents/dev3.8/include/../filestore/2_0ce3fd4ac024744/2_b9724fc4f79ae9a.cr2'[0] +matte -quality 90 -verbose +matte +profile "*" -colorspace RGB -resize 999999x999999">" '/Volumes/Data/Documents/dev3.8/include/../filestore/2_0ce3fd4ac024744/2hpr_1668867d01c52b0.jpg'
but when I run it as another user (for example the apache user via php), I'm getting this error:
convert: delegate failed `"/opt/local/bin/ufraw-batch" --silent --wb=camera --black-point=auto --exposure=auto --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i"' @ error/delegate.c/InvokeDelegate/1061. convert: unable to open image `/Volumes/Data/Documents/dev3.8/filestore/tmp/magick-r33DuQoi.ppm': No such file or directory @ error/blob.c/OpenBlob/2587. convert: missing an image filename `/Volumes/Data/Documents/dev3.8/include/../filestore/2_0ce3fd4ac024744/2hpr_1668867d01c52b0.jpg' @ error/convert.c/ConvertImageCommand/2974.
I've been wrestling with this problem for over a day now. It seems clearly a permissions issue, but the files are all 777, and I haven't found any clues about where else I might need to open them up.
Temporary files do show up briefly in the tmp folder, but none with .ppm extensions.
I'm also willing to pay for help on this.
If I run this command with 'sudo', it works...
/opt/local/bin/convert '/Volumes/Data/Documents/dev3.8/include/../filestore/2_0ce3fd4ac024744/2_b9724fc4f79ae9a.cr2'[0] +matte -quality 90 -verbose +matte +profile "*" -colorspace RGB -resize 999999x999999">" '/Volumes/Data/Documents/dev3.8/include/../filestore/2_0ce3fd4ac024744/2hpr_1668867d01c52b0.jpg'
but when I run it as another user (for example the apache user via php), I'm getting this error:
convert: delegate failed `"/opt/local/bin/ufraw-batch" --silent --wb=camera --black-point=auto --exposure=auto --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i"' @ error/delegate.c/InvokeDelegate/1061. convert: unable to open image `/Volumes/Data/Documents/dev3.8/filestore/tmp/magick-r33DuQoi.ppm': No such file or directory @ error/blob.c/OpenBlob/2587. convert: missing an image filename `/Volumes/Data/Documents/dev3.8/include/../filestore/2_0ce3fd4ac024744/2hpr_1668867d01c52b0.jpg' @ error/convert.c/ConvertImageCommand/2974.
I've been wrestling with this problem for over a day now. It seems clearly a permissions issue, but the files are all 777, and I haven't found any clues about where else I might need to open them up.
Temporary files do show up briefly in the tmp folder, but none with .ppm extensions.
I'm also willing to pay for help on this.