in reply to Re^2: 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 guess your lack of experience makes it difficult for you to find reasonable steps to narrow down the error. So let me take some shots into the blue...
- The group www-data seems to point to an Debian or Ubuntu system. Correct? This matters because different systems have different configuration defaults.
- ...those scripts the need to write to specific paths... Does it happen only for some paths? What are the permissions for these paths? Even the owner can't write files without a write permission!
- Can the Perl scripts write to /tmp? If yes: What are the ownership and permissions of the files created by the script?
- Can you login as Sally1 and write to said specific paths or does that fail, too? (NERDVANA suggested a similar approach)
- Have you inspected your web server's error log? Are there warnings or errors regarding your scripts or about your configuration?
- Do you have AppArmor or SeLinux policies in place? (Admittedly that's pretty far-fetched, but those could cause such behaviour)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: I need a user just for Perl script run from web browsers
by bartender1382 (Beadle) on May 03, 2022 at 01:45 UTC |
In Section
Seekers of Perl Wisdom