9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: forsyth@plan9.cs.york.ac.uk forsyth@plan9.cs.york.ac.uk
Subject: More questions..
Date: Tue, 20 Aug 1996 15:36:59 +0100	[thread overview]
Message-ID: <19960820143659.Lsx7jfD_ryPzMwKKzJe9w5Ocmc_9AEfdQQ3DeNiOfDc@z> (raw)

>>Is there a way to change owner from none to sys?

one of the advantages of using mkfs-a/mkext to install chunks of the CDROM
is that it can be told to set the original owner and group when the
target file system is in `allow' mode.

still, if files have ended up with the wrong group, you can change the
group with chgrp.  if you're not the right person to run that (eg,
not connected with the group), you'll need to `allow' first.
when running normally, no one can change a file's ownership;
that's why there isn't a chown command.  there is no super user in Plan 9.
`allow' mode permits change of ownership, however,
so it's possible to write a command that will work in that mode.
try ftp://ftp.cs.york.ac.uk/plan9/chown.c .

even so, you might be better off retrying the installation of the
bits you were trying to install by using the mkfs/mkext approach.
that way everything will be as it should be, including the file modes.
(but remember to do {chmod 777 /mail/tmp}, since the mode was
wrong on the CDROM.)




             reply	other threads:[~1996-08-20 14:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-20 14:36 forsyth [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-08-20 14:44 Steve
1996-08-20 13:36 Steve
1996-08-20 13:14 Ishwar

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=19960820143659.Lsx7jfD_ryPzMwKKzJe9w5Ocmc_9AEfdQQ3DeNiOfDc@z \
    --to=forsyth@plan9.cs.york.ac.uk \
    /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).