NetPBM Permissions

benjamintm

Joined: 2002-08-20
Posts: 2
Posted: Tue, 2002-08-20 19:48

Hi all,
I've been able to get everything running on my hosts server and created a gallery of my pics. I used the precompiled NetPBM for Redhat. My question is: I set the permissions for the NetPBM to 777, but this doesn't seem secure to me. Is this the setting I should use?

Thanks,
Ben

 
benjamintm

Joined: 2002-08-20
Posts: 2
Posted: Tue, 2002-08-20 19:54

And in the RTFM department, I completely missed the reference to NetPBM in the installation FAQ. I figured it out (they should be 755). Sorry all.

 
depotgang

Joined: 2002-08-20
Posts: 1
Posted: Tue, 2002-08-20 20:33

Well I'm dum too but could use some direction. my sites at hostnuke, I am using php 4.4.1. I have made th netpbm files exacutable yet i still get the following error message

Error: I can't find NetPBM at the location you provided. Gallery prefers NetPBM version 9.9 and up. You can install just the binaries Gallery needs from Gallery on SourceForge or, you can compile and install the entire NetPBM package from NetPBM on SourceForge. Note: You can install the binaries from the Gallery site even if you don't have root access on your box!

Okay, I'm doing something stupid but help a virgin out of a jam
:eek:

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Wed, 2002-08-21 07:46

Find out where the NetPBM file are located on the server, then set the
config.php variable: $gallery->app->pnmDir to that directory.

i.e., if they are in /home/usr/gallery/bin, then it should read:
$gallery->app->pnmDir = "/home/usr/gallery/bin";

If it's a unix box, try typing 'which pnmcut' to see where they are located
if you don't know offhand.

 
TheWatcher
TheWatcher's picture

Joined: 2002-08-21
Posts: 120
Posted: Fri, 2002-08-23 16:26
Quote:
Well I'm dum too but could use some direction. my sites at hostnuke, I am using php 4.4.1. I have made th netpbm files exacutable yet i still get the following error message

Error: I can't find NetPBM at the location you provided. Gallery prefers NetPBM version 9.9 and up. You can install just the binaries Gallery needs from Gallery on SourceForge or, you can compile and install the entire NetPBM package from NetPBM on SourceForge. Note: You can install the binaries from the Gallery site even if you don't have root access on your box!

Okay, I'm doing something stupid but help a virgin out of a jam
:eek:

It is a permission error. I suggest that you FTP or SSH to your site and go to netpbm directories and chmod 777.

if you have SSH access
cd /yourpath/netpbm
chmod -R 777 netpbm

hope this help ...

 
eoinmaca

Joined: 2005-12-13
Posts: 3
Posted: Wed, 2005-12-14 12:29

Hi Im having a similar problem - I Chmod everything to 755, but the files in the directory keep getting changed back to 644.
Any suggestions?
Thanks,

Eoinmaca