in reply to Re: I need a user just for Perl script run from web browsers
in thread I need a user just for Perl script run from web browsers

I put up the link in my OP, and fixed the error where I reference the enviers file.
 
Yet I can find no reason to understand why the I can't make a user gets assigned to all Perl scripts run remotely via the web browser?
 
Because even when I give that new user all the rights to the paths that some perl scripts write to, I still get a Permission denied error. And I have no idea why.
  • Comment on Re^2: I need a user just for Perl script run from web browsers

Replies are listed 'Best First'.
Re^3: I need a user just for Perl script run from web browsers
by NERDVANA (Priest) on Apr 29, 2022 at 08:26 UTC
    A quick way to test is to log in as the new user "sudo -u Sally1 bash" and then change to the same directory and try reading and writing the various paths that your script uses. Then, try running your script. (you can set environment variables to simulate the script being called by a web request)