9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox rsc@plan9.bell-labs.com
Subject: [9fans] u9fs CD installation
Date: Tue, 21 Apr 1998 00:06:33 -0400	[thread overview]
Message-ID: <19980421040633.puD2u-8wlCGmlDlDrvGc-kqaW8Jvb1VLQgC-MHbH54A@z> (raw)

First, the moderator (Scott?) might want to look into why this
message has 2 Reply-To: lines.  You would think majordomo would
replace it instead of blindly adding its own.

> given that the Wstat documentation explicitly states that
> file ownership cannot be changed..

Anyhow, despite the documentation, both kfs and the file server
allow chown via wstat if in you've done 'kfscmd allow' or by booting
the file server in insecure mode, respectively.  (For normal operation,
the documentation is correct.)

That's how the install procedure sets up the owners correctly initially.

As for u9fs, it looks like it should work but obviously doesn't.

> I have verified that fchown is called and always succeeds,

The install procedure (/sys/lib/pcdist/src/build.c) stats the
source file and then wstats the dest file, so you should be checking the
chown call in rwstat(), not the fchown's in rcreate().

> but it is always passed the sime user.

Right.  You're looking at the create calls, which don't do the setting
of other owners.

Russ




             reply	other threads:[~1998-04-21  4:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-21  4:06 Russ [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-04-21 16:36 Digby
1998-04-21  3:27 Digby

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=19980421040633.puD2u-8wlCGmlDlDrvGc-kqaW8Jvb1VLQgC-MHbH54A@z \
    --to=9fans@9fans.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;
as well as URLs for NNTP newsgroup(s).