On Fri, Mar 26, 2010 at 01:30:18PM -0400, rgheck wrote: > On 03/26/2010 01:11 PM, rgheck wrote: > > > >A user noted that, by putting the converter cache in the user > >directory, we risk running people over their disk quotas, since > >that cache can get fairly large. The attached moves the cache to > >LyX's temporary directory. Does anyone know a reason not to do > >this? > > > Ahh, I see the reason, namely, that the converter cache is supposed > to be persistent. So, putting it in LyX's temporary directory won't > work, since that gets deleted. The other option, then, is to put it > in the system temporary directory somehow, but (a) it can't just be > /tmp/lyx-cache/ on a multi-user system and (b) it can't be > /tmp/some-random-name/, because we need to be able to find it again. > Is there any way we could do something like this: > /tmp/lyx-username-cache/? I.e., is there some cross-platform way to > find a username?
Note that the /tmp directory gets nuked on reboot. Then, I don't think that it is a good idea spreading files around in the file system. -- Enrico