Start script
James Wilkinson
fedora at aprilcottage.co.uk
Fri Feb 24 21:14:09 UTC 2012
Mikkel L. Ellertson wrote:
> One other thing - homer the TMP variable. Not so much for system
> programs, but for user programs. I have a tmp directory as part of
> /etc/skel, so every user gets a tmp directory as part of their home
> directory structurer. The I set TMP as part of the login script. All
> my user scripts are set to use it. You do have to clean it
> sometimes if programs/scripts do not clean up after themselves, but
> at least you do not clobber needed temporary files.
http://fedoraproject.org/wiki/Infrastructure/FedoraPeopleConfig#polyinstantiated_tempdirs
describes a way that each user gets their own /tmp, with only their
files in, which is actually their $HOME/tmp directory.
That way you don’t have to rely on programs being well-behaved.
There’s a Fedora Feature hanging around which might even get finished
someday to make this happen by default. There’s also
http://fedoraproject.org/wiki/Features/ServicesPrivateTmp , which will
be in Fedora 17, which will do this for most system services.
Hope this helps,
James.
--
E-mail: james@ | I learnt the rules of rugby. There is only one rule.
aprilcottage.co.uk | "Skip it by any means necessary".
| -- "Nix"
More information about the users
mailing list