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

Re: Moving /tmp to tmpfs makes it useless



Le 25/05/2012 04:00, Steve Langasek a écrit :
> On Fri, May 25, 2012 at 03:57:28AM +0300, Serge wrote:
>>> Every file that exists in /tmp on the system from which I'm writing this
>>> exists there not because the application is saving memory but because the
>>> application needs to share that file with other applications.  That
>>> includes a bunch of Kerberos ticket caches, several X server IPC
>>> rendezvous points, gnupg-agent and ssh-agent data, and a bunch of UNIX
>>> domain sockets for ORBit.
> 
>> I agree, not everybody read FHS, some software may have bugs.
> 
>> According to FHS these should go to /var/run (or /run, if you like).
>> I mean, if you want to fix this, you should move those files to /run,
>> you should not turn /tmp into /run because of them.
> 
> Absolutely not.  /run is a root-only directory, suitable only for
> system-wide data/sockets.  It absolutely must not be used for non-root data.
> 

For normal users, shouldn't the applications use ~/.cache/ or whatever
the xdg vars point to?

-- 
Jean-Christophe Dubacq

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: