On Mon, Jul 28, 2014, at 13:12, Karel Zak wrote: > I have no way how to to test it, but can you try the patch below? > [...] > > + if (ur->get_permissions()) > + return EX_NOPERM; > + Yes, looks better now: $ ./hwclock --compare hwclock: unable to get I/O port access: the iopl(3) call failed.: Operation not permitted hwclock: Probably you need root privileges. Benno -- http://www.fastmail.fm - Email service worth paying for. Try it for free -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html