bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What operations in store_parsed_open() need the privilege?


From: Neal H. Walfield
Subject: Re: What operations in store_parsed_open() need the privilege?
Date: Thu, 28 Aug 2008 08:42:55 +0200
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/21.4 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)

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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]