Danek Duvall wrote:
Thanks.

FWIW, I've updated the webrev a touch.  It turns out that a lot of folks
were running into this because they'd forgotten to run the image-update as
root, and so the file was downloaded into an incoming directory in /tmp,
and they got EXDEV instead of EACCES when trying to rename into the
download cache.  So with the fix as I had it, while EXDEV was bridged over,
it just dumped them into EACCES when creating the temp file.  Which is
fine, except that the message printed out talks about this .pkg5.exdev
file, which is likely to be confusing.  So now I'm catching that specific
case and changing the filename in the exception to be the original
destination before re-raising.

The webrev is in the same place:

   http://cr.opensolaris.org/~dduvall/pkg-exdev/

The only change is the try/except around the tempfile creation, and the
exception handler itself.

Thanks,
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
Another +1 from me :)
Brock
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to