in reply to Re: xargs error using open cmd for output with redirected input file (setuid)
in thread xargs error using open cmd for output with redirected input file
Thank you for your reply!
Does $cmd work if you paste it into the shell?
Yes, it works from the shell, running it as root.
the user running the program isn't the same one as your shell
This is the case--when invoked automatically, it's a cgi program and I think the uid/gid is Apache/Apache (but I'll check). It's still not clear to me why with perms set to rwxr-xr-x for everything why it wouldn't work. But at least I think I''m on the right track now.
Thanks again for your help!
Chuck
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: xargs error using open cmd for output with redirected input file (setuid)
by Anonymous Monk on Dec 01, 2016 at 20:15 UTC |