Hi, The webrev below contains a proposed fix for:
bug 1122 - normal user gets a traceback when trying to change the preferred authority (http://defect.opensolaris.org/bz/show_bug.cgi?id=1122) Webrev: http://cr.opensolaris.org/~bgh/bug-1122/ Summary of changes: - Catches the IOError exception and propogates it as a RuntimeError. After the change, the output of the failed command looks like this (instead of a backtrace): $ pkg set-authority -P opensolaris.org pkg: set-authority failed: unable to open /var/pkg/cfg_cache for writing: Permission denied Comments, suggestions? Thanks, Brad _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
