[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FHS compliance and UNIX sockets

* Ethan Benson 

| On Thu, Feb 01, 2001 at 02:51:11PM +0100, Tollef Fog Heen wrote:
| i think the only tmp directory that should be autocleaned is /tmp as
| it is now.  having the default TMPDIR at or under /tmp is useful for
| both users and admins.  users don't have to manually clean out random
| cruft that accumulates, and admins don't have to nag users to clean it
| up.  $HOME should never ever be touched with autocleaners, i have a
| $HOME/tmp but i do NOT use it the way i use /tmp.  (TMPDIR is not set
| there)

ok, I think we agree then.

| your program seems to be responsible for creating /tmp/user, i think
| /tmp/user should be created at boot after /tmp is wiped, this way it
| can be created 1775 root.tmp and the helper only need be setgid tmp
| instead of setuid root. 

Well, it's not responsible for creating /tmp/user, but to avoid
embarrasing situations when it doesn't exist, it creates it.  Anyhow,
as Adam Heath proposed, it should go into a pam module.  pam_env for
setting TMPDIR and TMP and some pam_mkdir for creating the directory.


Tollef Fog Heen
Unix _IS_ user friendly... It's just selective about who its friends are.

Reply to: