Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by osunderdog (Deacon)
on Nov 14, 2006 at 03:12 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://583894]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (None)
    As of 2024-04-25 00:02 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found