linux-um archives
 help / color / mirror / Atom feed
From: Matt Zimmerman <mdz@debian.org>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] hostfs as root
Date: Fri, 5 Sep 2003 14:19:00 -0400	[thread overview]
Message-ID: <20030905181900.GV11825@alcor.net> (raw)
In-Reply-To: <19654.193.212.97.12.1062774897.squirrel@pluto.nixia.no>

On Fri, Sep 05, 2003 at 05:14:57PM +0200, stian@nixia.no wrote:

> The problem occurs when you create a file you are later not allowed to
> open if I'm seeing this right, so, the best fix would be not to close the
> file when we create them in the first place. Fix the behavour that we
> 
> create file
> close file
> open file again
> do action
> 
> If that is redone till
> 
> create file
> do action
> 
> 
> The mode issue goes pretty much away, since trying to open a file you are
> not allowed to read will normally fail both in host and uml. Only problem
> is when creating new files as far as I can see.
> 
> 
> Might be more job, but the result is more cleaner than than chmod stuff on
> the fly.

That is what the original bug was, and that is how it was fixed.  Michael's
problem is that mount(8) creates a file with mode 0, closes it, and then
tries to open it.

-- 
 - mdz


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  parent reply	other threads:[~2003-09-05 18:19 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-05 15:14 [uml-devel] hostfs as root stian
2003-09-05 17:58 ` Michael Richardson
2003-09-05 18:19 ` Matt Zimmerman [this message]
     [not found] <Pine.LNX.4.44.0309020854560.26729-100000@filer.marasystems.com>
2003-09-02 16:28 ` Michael Richardson
2003-09-03  9:32   ` Henrik Nordstrom
2003-09-03 15:47     ` Matt Zimmerman
2003-09-03 18:22     ` Michael Richardson
2003-09-03 18:55       ` Henrik Nordstrom
2003-09-03 19:16       ` Matt Zimmerman
2003-09-05  0:55         ` Michael Richardson
2003-09-05  1:10           ` Matt Zimmerman
2003-09-05 13:43             ` Michael Richardson
2003-09-05 14:01               ` Matt Zimmerman
2003-09-05 15:50                 ` Michael Richardson
2003-09-05 16:06                   ` Adam Heath
2003-09-05 16:28                     ` Michael Richardson
2003-09-05 16:44                       ` Adam Heath
2003-09-05 16:13                   ` Matt Zimmerman
2003-09-05 17:37                     ` Michael Richardson
2003-09-05 18:02                       ` Matt Zimmerman
2003-09-05 18:39                         ` Michael Richardson
2003-09-05 18:49                           ` Matt Zimmerman
2003-09-17 16:43                           ` BlaisorBlade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030905181900.GV11825@alcor.net \
    --to=mdz@debian.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox