Hi,

The webrev below contains a proposed fix for:

1121 - normal user gets a traceback when running "pkg install <pkg>"  from
installed RC0 system

Webrev: http://cr.opensolaris.org/~bgh/bug-1121/

Summary of changes:
- Catch the OSerror and propogate as a RuntimeError
- Moved creation of download directory a little higher so that its caught
before we start retrieving/extracting files

Instead of the backtrace, the user will see:
pkg: installation failed: unable to create download directory
/var/pkg/download/incoming-1920: Permission denied

(Note: I'll add the error here to the list of "to be localized", too.)

Thanks,
Brad
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to