9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: /spim
Date: Sat, 8 Aug 2015 19:30:39 +0200	[thread overview]
Message-ID: <8c5ce67f6af4ee93884f20b178606d84@felloff.net> (raw)

recently the /spim directory for little endian mips was
commited to the repository. sysupdate will create this
directory under /dist/plan9front as the namespace (and cwfs)
prevent it from creating directories in /.

there will be no error message and no harm is done. just
for the people who wonder whats going on :)

anyway, this can be fixed easily:

# mount fs root with create flag
mount -c /srv/boot /n/root

# try to create the directory
mkdir /n/root/spim

# the above will likely fail on cwfs as / as permission
# 0755 so adm group has no write access... check:
#  ld -ld /n/root
#
# give the adm group write access to /
#  echo allow >> /srv/cwfs.cmd
#  chmod 0775 /n/root
#  echo disallow >> /srv/cwfs.cmd
#
# now try again. alternatively, you can create the
# directory on the fs console directly:
#  echo cfs main >> /srv/cwfs.cmd
#  echo create /spim adm adm 0775 d >> /srv/cwfs.cmd

# copy
dircp /dist/plan9front/spim /spim

# get rid of the old one
rm -r /dist/plan9front/spim


trust, but verify.

--
cinap


                 reply	other threads:[~2015-08-08 17:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=8c5ce67f6af4ee93884f20b178606d84@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --cc=9front@9front.org \
    /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).