At Wed, 27 Aug 2008 15:05:59 -0700,
Thomas Bushnell BSG wrote:
On Wed, 2008-08-27 at 23:32 +0200, Da Zheng wrote:
I know boot fails and gets EPERM when it calls store_parsed_open, but I
need to know what operations inside store_parsed_open() fail. Otherwise,
I don't know how to fix it.
Boot assumes that it is run as root, and assumes that quite thoroughly.
You need to have boot simply not even *try* to open such a device.
I don't understand why boot should somehow override the user in this
regard. It is perfectly legitimate, I think, to give a non-root user
access to, e.g., /dev/hda1. In that case, why should boot not even
try to open the device?