Comment 39 for bug 15179

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 15179] Re: Users should be discouraged from editing temporary files

On Sat, Sep 01, 2007 at 01:29:57PM -0000, Jeroen van Splunder wrote:
> Please do NOT save all files which firefox downloads when you choose
> 'open' outside of /tmp. The reason you can choose behind 'open' and
> 'save to disk' is obvious: you don't want to keep stuff you 'open'. If a
> file is opened by a user and he changes his mind (and edits anyway),
> however, he should be warned about saving to /tmp. But wouldn't it be
> much better to do this in the GTK file chooser? Just a yellow bar 'Files
> in /tmp are temporary' would solve the problem. Only display the bar
> when the user 'starts' at /tmp, not when he manually goes there. (If he
> does, he should know what he's doing and the bar will annoy him.) Give
> the user who understands the filesystem the option to not show the bar
> again.
>
> Changing GTK file chooser is much more reasonable and easier than
> changing every application which might save something to /tmp and let
> users open it. (These are at least all browser and all e-mail programs.)
>

The current idea is to save files for "open" in read-only permissions
so the editor will complain to the user when he tries to save the
file.

This is the best solution for this whole situation and i will
probably implement this at some point. Probably this won't make it
into gutsy ... but who knows.

 - Alexander