su, 2005-03-20 kello 12:01 +0100, Marco d'Itri kirjoitti:
> On Mar 20, Lars Wirzenius <[EMAIL PROTECTED]> wrote:
> 
> > At startup, chmod the static /dev to be 0755. This will ensure it works
> > correctly even if udev isn't started later on. Then, instead of
> > bind-mounting the static /dev, bind-mount / and chmod the static dev to
> > 0700. This way, the mounted directory is user-accessible (df works),
> > but access to the static /dev is limited.
> This is unacceptable also because it could easily leave the system with
> a 0700 /dev.

Steve Langasek suggested on IRC that mounting /dev/.static/dev with the
-n option (which means the mount point won't be visible in /etc/mtab)
might be an evil fix for this problem. I've verified that removing the
line from mtab works as far as making df not report errors. Would this
be acceptable to you, Marco?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to