9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] chmod /dev/consctl : Permission Denied
Date: Sun, 17 Sep 2006 11:29:11 -0400	[thread overview]
Message-ID: <ee9e417a0609170829u6caa5c59m6aed6c71eabc2c92@mail.gmail.com> (raw)
In-Reply-To: <ae6312490609161922q6dfcc7b5g3bed5f543f30b164@mail.gmail.com>

In general, you cannot change the permissions on devices.
The name spaces, rather than permissions, control sharing.
The permission bits on devices serve mainly as documentation
about what you can expect to do with the device.  In this case,
acme win provides a /dev/consctl with no permissions because
it doesn't (can't) implement any of the special writes to /dev/consctl.

If you need to use a program that insists on writing to /dev/consctl
you can try running it in a normal rio window.

Russ


      parent reply	other threads:[~2006-09-17 15:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-17  2:22 Yosyp Bin Laden
2006-09-17  2:29 ` erik quanstrom
2006-09-17  6:12   ` Yosyp Bin Laden
2006-09-17  8:41     ` arisawa
2006-09-17  8:55       ` Sascha Retzki
2006-09-17 14:19     ` LiteStar numnums
2006-09-17 15:29 ` Russ Cox [this message]

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=ee9e417a0609170829u6caa5c59m6aed6c71eabc2c92@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    /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).