On Wed, Jan 22, 2014 at 21:33:58 +0100, Helmut Grohne wrote: [...]
> Ideally you don't manipulate the filename after the fact, so you need to > have the desired suffix incorporate into the creation process. Luckily > mktemp provides a mechanism for that: --suffix. So the correct solution > is: > > TMPFILE=`mktemp --suffix .suffix` > > Now the desired file is created by mktemp and when you write to it using > other tools, it already is known to be owned by the relevant user. > > Hope this helps Hi, thanks for the clarification. I expected exactly that, I just wanted to make sure that we are thinking into the right direction. Btw., don't expect me to fix this for oldstable, which is the version you use. As far as I can see, the script is only used at build time. Regards, Tino -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org