Re: FHS compliance and UNIX sockets
>>>>> "Joey" == Joey Hess <firstname.lastname@example.org> writes:
Joey> Amen. per-user tmpdirs are the way to go. It would be great
Joey> if debian could somehow support them by default.
It is relatively easy to put something like this in one of your
shell script files:
if [[ -d "/tmp/$USERNAME" && ! -h "/tmp/$USERNAME" && -O "/tmp/$USERNAME" ]]
Only I don't really like having to fall back to /tmp, if
/tmp/$USERNAME is wrong...
Also some programs don't use this, eg sawfish & ssh, (probably because
this shell script doesn't get executed by the gdm login process), and
Kerberos (it uses the KRB5CCNAME environment variable).
Now this file makes me feel nervous:
>ls -l /tmp/imp.zip.2001-Jan-Wed_23:09:48__4eb85038894a6ae498b10f768f3b3e87
-rw-rw--w- 1 www-data www-data 311626 Jan 24 23:09 /tmp/imp.zip.2001-Jan-Wed_23:09:48__4eb85038894a6ae498b10f768f3b3e87
Looks like an attachment to a private E-Mail that imp saved... Group
readable by www-data? World writable?
Brian May <email@example.com>