noexec on /dev/shm

Miloslav Trmač mitr at volny.cz
Thu Jan 20 07:37:21 UTC 2011


Nathanael D. Noblet píše v Čt 20. 01. 2011 v 00:33 -0700: 
> On 01/19/2011 12:11 PM, Callum Lerwick wrote:
> > On Thu, Dec 23, 2010 at 11:26 AM, drago01<drago01 at gmail.com>  wrote:
> >> Well /tmp should be mounted tmpfs anyway (I have been doing this for
> >> years and it is working just fine).
> >> tmp isn't a persistent storage so it makes a lot of sense, and it is
> >> *not* a dumping ground for giant files (apps that try to do that are
> >> just broken).
> >
> > Unfortunately firefox is one of those apps. I experimented with tmpfs
> > /tmp a while back, and ran into very much badness. /tmp rapidly gets
> > all full of large PDFs I've clicked on, as well as the flash plugin
> > seems to like to spool video its streaming in /tmp.
> 
> Playing around with flash spooling, I noticed that Chrome uses 
> ~/.cache/google-chrome... I wonder if firefox and friends should use 
> places like that instead?
If /tmp is not supposed to be used for data that is inconvenient to
store in memory for whatever reason, and that should be automatically
removed when it is not used, what _is_ it supposed to be used for?
    Mirek



More information about the devel mailing list