Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: A CGI script to list the files on my external harddrive

by osunderdog (Deacon)
on Nov 14, 2006 at 03:12 UTC ( #583894=note: print w/replies, xml ) Need Help??


in reply to A CGI script to list the files on my external harddrive

Is it possible that /media/EXTERNAL is a link? If it is, you may need to configure apache to FollowSymLinks

This really isn't a perl issue, it's a 'can't run a script as another user.' issue.

Hazah! I'm Employed!

Replies are listed 'Best First'.
Re^2: A CGI script to list the files on my external harddrive
by Anonymous Monk on Nov 14, 2006 at 03:20 UTC
    I can run th script as any user from the command line. So it is not a user issue as far as I can tell. Even if I change the User and Group in my httpd.conf to somethings like ...
    User me
    Group root
    
    The script still fails with permission errors when run a a cgi.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://583894]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2020-12-01 21:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (22 votes). Check out past polls.

    Notices?