Re: GEP 7 - icons and thumbnails - gnome-thumbnail
Michael Meeks <[email protected]> 26 Sep 2002 14:53:14 +0100
| Newsgroups | gmane.comp.gnome.lib.devel |
|---|---|
| Organization | Ximian. |
| Message-ID | <[email protected]> |
Hi Alex, On Thu, 2002-09-26 at 13:15, Alexander Larsson wrote: > Amongst other thing. See the spec. > http://triq.net/~pearl/thumbnail-spec/ A pleasant read; that's a freedesktop.org spec I suppose ? > > + the mkstemp man page says: ... > > do we need a chmod there ? > > We already chmod. ? looking at the code; again (just updated) there are 5 calls to mkstemp; the first creates a file in /tmp/ and doesn't do a chmod at all [ the most critical ], the other 4 (2 instances) seem to save the (temporary) file then do the chmod afterwards I think. [ much less critical since the directory is invisible to all but the user ]. HTH, Michael. -- [email protected] <><, Pseudo Engineer, itinerant idiot