Comment 18 for bug 60448

Revision history for this message
Martin Pitt (pitti) wrote : Re: SRU Proposal: Limit .xsession-errors file size to prevent disk space DoS

Hi,

Matt Zimmerman [2006-10-31 10:30 -0800]:
> Wouldn't it be simpler and cleaner to rotate the file to .old or such,
> rather than attempting to rotate the data within the file?

Neither Tollef nor I liked the .old idea, home directories are already
cluttered enough; and if the file already exists, we cannot really
decide whether the user copied it there or whether we can overwrite
it. OTOH Tollef didn't like to have it completely purged on session
start (what gdm does), so we agreed to this compromise.