Discussion:
[tmux:tickets] #180 tmux does not clean up /tmp
Ole Tange
2015-02-14 23:36:59 UTC
Permalink
---

** [tickets:#180] tmux does not clean up /tmp**

**Status:** open
**Created:** Sat Feb 14, 2015 11:36 PM UTC by Ole Tange
**Last Updated:** Sat Feb 14, 2015 11:36 PM UTC
**Owner:** nobody

A program should clean up tmp files that it no longer needs instead of leaving unused files for the user to clean up:

$ rm /tmp/tmux-1000/bar
$ tmux1.9 -L bar new-session -d 'sleep 1'
$ sleep 2
$ ls -l /tmp/tmux-*/bar
srw-rw---- 1 tange tange 0 Feb 15 00:33 /tmp/tmux-1000/bar

The above become a reals problem when using -L with random values: Every single invocation will cause a new file.


---

Sent from sourceforge.net because tmux-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/tmux/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/tmux/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Loading...