| Summary: | PHP system() function breaks working scripts | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chuck Forsberg <caf> |
| Component: | php | Assignee: | Joe Orton <jorton> |
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | caf, fedora, jorton, rpm |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-03-05 17:07:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Cannot reproduce from command line. If SELinux is enabled, check context of /u/h No news, so closing. Problem has gone away in current vsn |
Description of problem: The following script no longer generates the vlf6.plt file as it used to. The ds5 program works properly when invoked from the shell. <?php $command = "ds5 +2000 -0.25 1 2 3 4 5 6 7 8 >/u/h/vlf6.plt 2>/dev/null"; system($command); $command ="cd /u/h; tek2gif vlf6.plt 2>/dev/null"; system($command); ?> Version-Release number of selected component (if applicable): How reproducible: run this script or something similar using redirection Steps to Reproduce: 1. 2. 3. Actual results: nothing seems to happen anymore Expected results: programs executed, files generated/updated Additional info: