Date: Sat, 3 Jan 2009 12:12:16 -0800 From: "Garrett Cooper" <yanefbsd@gmail.com> To: Volker <volker@vwsoft.com> Cc: Bruce Cran <bruce@cran.org.uk>, freebsd-bugs@freebsd.org, freebsd-usb@freebsd.org, Hans Petter Selasky <hselasky@c2i.net> Subject: Re: bin/129963: [newusb] usbconfig(8) fails with misleading error when run as a normal user Message-ID: <7d6fde3d0901031212o6059edccwfd72535de5b0c3f1@mail.gmail.com> In-Reply-To: <495FAFDD.2050206@vwsoft.com> References: <200812311256.mBVCuLT9096976@freefall.freebsd.org> <200901030135.11461.hselasky@c2i.net> <495FAFDD.2050206@vwsoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 3, 2009 at 10:35 AM, Volker <volker@vwsoft.com> wrote: > On 01/03/09 01:35, Hans Petter Selasky wrote: >> On Wednesday 31 December 2008, vwe@freebsd.org wrote: >>> Synopsis: [newusb] usbconfig(8) fails with misleading error when run as a >>> normal user >>> >>> Responsible-Changed-From-To: freebsd-bugs->freebsd-usb >>> Responsible-Changed-By: vwe >>> Responsible-Changed-When: Wed Dec 31 12:55:52 UTC 2008 >>> Responsible-Changed-Why: >>> reassign >>> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=129963 >> >> Hi, >> >> "usbconfig" will only show USB devices which the user has access to. >> >> What should be the correct display message when no devices are accessible due >> to innsufficient permissions? >> >> --HPS >> > > Hans, > > what about "access denied" or "insufficient privileges"? > > Someone might have a better idea but everything should be better than > silently refusing to do anything. > > Volker Why not just simplify the problem by printing out the strerror(3) message for the actual issue -- or was that the misleading error message? Cheers, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d0901031212o6059edccwfd72535de5b0c3f1>