in reply to Re: xargs error using open cmd for output with redirected input file
in thread xargs error using open cmd for output with redirected input file
Thank you for your reply!
So that's the shell complaining, which means the problem is unlikely to be directly related to perl.
You're right, I just wasn't getting the implications of this.
I was running the script manually as root (I know), whereas the automatic invocation is happening through a cgi program through a web server (both on a linux vm).
I'd verified the uid/euid and gid/egid were the same using debug statements, but only for the manual invocation.
I believe the cgi is running as Apache:Apache. I guess this could be a setuid problem but I'm not familiar with that at all. And I realize that's beyond the scope of a Perl forum (although any insight is welcome!).
Again, many thanks!
.
|
|---|