[TUHS] Set-uid shell scripts
chet.ramey at case.edu
Wed Aug 7 22:56:10 AEST 2019
On 8/6/19 6:48 PM, Dave Horsfall wrote:
> It's a problem for any temporary files in a world-writable directory, hence
> the extensions to directory permissions e.g. /tmp and /var/tmp...
> Amusingly enough, the Mac works around this by symlinking /tmp to
> private/tmp i.e. you get your own /tmp...
/private/tmp is still word-writable with the sticky bit set. What you do
get is a private $TMPDIR, e.g.,
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet at case.edu http://tiswww.cwru.edu/~chet/
More information about the TUHS