eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1 2 3 4 ... 7
error: permission denied (Read 4584 times)
idontno
eAuction User
**
Offline

I love Perl

Posts: 6

Re: error: permission denied
Reply #3 - 04/28/04 at 23:05:32
 
Thanks so much for offering a free auction. It looks like a nice one from the demo. Just for the record. I am not asking you to install it for me. I am asking the other experienced users that have dug into your coding to give me a hand. If no one does it is no biggie.
Back to top
 
« Last Edit: 04/29/04 at 00:27:03 by idontno »  


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: error: permission denied
Reply #4 - 04/29/04 at 00:47:31
 
A well configured server FS looks like this:

/root
 |
 |--/non-web-area
 |
 |--/cgi-bin
 |
 |--/htdocs (web-area)

You store 'sensitive data' into the 'non-web-area'


A bad configured server FS looks like this:

/root
 |
 |--/htdocs (web-area)
         |
         |--/cgi-bin

You have to store 'sensitive data' into the cgi-bin folder

------------------------------
eAuction is containing the subroutine 'get_path'.
This subroutine is trying to create a folder in the 'secure area' for saving your data.

If the script cannot access this 'secure' area of your server (permission denied), you have to type in the basepath manually (see EveryAuction), but the basepath MUST be different to the path to the folder where eAuction.pl is located.

That's the way it works ...

Edit:
Forgot to mention:

chmod 777 for eAuction.pl is simply wrong!
Read the instructions and set chmod 755.
Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
idontno
eAuction User
**
Offline

I love Perl

Posts: 6

Re: error: permission denied
Reply #5 - 04/29/04 at 14:48:11
 
Now I understand why you think my server is configured badly....

my path /var/www/cgi-bin/. Your assumption is that the www is web accessible but it is not. The web accessible folder is /var/www/html/. so I can have /var/www/eAuction161 folder and it is not web accessible so it is fine for storing data. As far as chmod 777 eAuction.pl goes. I know it is wrong to give group and everyone write access but with a permission denied error, chmod -R 777 the entire folder can sometimes lead to fixing the error.  I will look through your get_path sub and configure it for my server then try again.

By the way. I had also tried changing basepath to /var/www/eAuction161 since /var/www/auction is where I would store data for everyauction but that did not work either. Yes I created the folder and yes I chmod that folder to 777 to make sure there was no ownership problems with writing in to it.

Bottom line, don't worry about it, I will play with it a little more, if I can't get it, I won't use it. No biggie.
Back to top
 
 


Advertising
View Profile   IP Logged
Pages: 1 2 3 4 ... 7


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only