mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Richard Gooch <rgooch@ras.ucalgary.ca>
To: Thomas Hood <jdthood@mail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: devfs unable to handle permission: 2.4.17-pre[4,5] /
Date: Fri, 7 Dec 2001 09:38:09 -0700	[thread overview]
Message-ID: <200112071638.fB7Gc9X14718@vindaloo.ras.ucalgary.ca> (raw)
In-Reply-To: <1007740060.2031.2.camel@thanatos>
In-Reply-To: <1007740060.2031.2.camel@thanatos>

Thomas Hood writes:
> Some devfs permission problems may have arisen because of the
> fact that devfs now notifies devfsd of the creation of
> directories.  Many people have devfsd configured to set
> permissions to all devices matching a certain regular
> expression --- e.g., all devices with "sound" in their
> pathname.  The problem is that the "sound" directory itself
> matches this regular expression, and so will have its perm
> bits set exactly like the device files' perm bits---e.g.,
> with the eXamine bit cleared.  The solution is to edit the
> devfsd config so that it excludes the directory.  E.g.,
> instead of:
>     REGISTER sound PERMISSIONS root.audio 0664
> (which worked before but won't any more) do:
>     REGISTER ^sound/.* PERMISSIONS root.audio 0664
> or something similar.

Hey! Good spotting! Since the person with the problem didn't send in
his devfsd configuration file, I'm guessing you ran across this
problem yourself?

FYI: recent versions of devfsd now also generate synthetic REGISTER
events for directories. So even with older kernels, people need to fix
their config files.

				Regards,

					Richard....
Permanent: rgooch@atnf.csiro.au
Current:   rgooch@ras.ucalgary.ca

  reply	other threads:[~2001-12-07 16:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-07 15:47 Thomas Hood
2001-12-07 16:38 ` Richard Gooch [this message]
2001-12-07 19:27 ` Roman Zippel

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=200112071638.fB7Gc9X14718@vindaloo.ras.ucalgary.ca \
    --to=rgooch@ras.ucalgary.ca \
    --cc=jdthood@mail.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®