#13458: Lint and Livecheck targets should not require root access ----------------------------------+----------------------------------------- Reporter: rhwood@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: lint livecheck ----------------------------------+----------------------------------------- Comment (by raimue@macports.org): It needs {{{ target_state ${org.macports.foo} no }}} for every target which is meant to be run without writing to the state file. I tried to make this possible, but one of the remaining issues is that livecheck tries to write to `${workpath}/livecheck.TMP`. Where should livecheck write else? For example `/tmp`? Tcl does not seem to provide any access to the UNIX syscall mktemp(3), which provides some unique name for a temporary file usually. With the attached patch it will work if livecheck writes to some other place. At the moment it fails with an `Permission denied` error (after r34288). Please review. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13458#comment:3> MacPorts </projects/macports> Ports system for Mac OS