I would like to prevent 2 non-root users on the same Linux system from sharing files with each other (via their use of /tmp). Is this possible somehow?
If I restrict
root:root as the owner:group) and define a user-specific
TMPDIR via an
export TMPDIR=~/tmp; mkdir -p $TMPDIR early on in the boot process (say, via an
rc.d script), then GConf2 starts having problems. A typical error I then get is:
/usr/libexec/gconf-sanity-check-2 exited with status 256
Everything seems to work fine in Run Level 3 (non GUI)... though I could be wrong in concluding this prematurely, and problems could surface later in Run Level 3 as well.
My experience so far with
TMPDIR seems to indicate that it is either broken, or is not sufficiently documented, or is not being embraced by all Gnome applications.