linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Anton Mitterer <cam@mathematica.scientia.net>
To: linux-hotplug@vger.kernel.org
Subject: udev and access control lists
Date: Wed, 05 Jan 2005 22:20:06 +0000	[thread overview]
Message-ID: <41DC6816.30801@mathematica.scientia.net> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody.

I've got two questions/problems. But first of all I'm using kernel
version 2.6.10 (with some patches like pwc, perfctr and so on but I
don't think anyone of them touches my problem). My udev version is 050.

I'd like to set some ACLs one some devicefiles so I tried the
following (of course with uid 0 ;-) ):

$ setfacl -m u:cam:r /dev/hdc
setfacl: /dev/hdc: Operation not supported


mount(8) shows the following:

/dev/hda1 on / type xfs (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,modeb0)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda3 on /var type xfs (rw)
/dev on /.dev type unknown (rw,bind)
none on /dev type tmpfs (rw,size=5M,mode\a55)


/proc/mounts this:
rootfs / rootfs rw 0 0
/dev/root / xfs rw,noatime,usrquota 0 0
proc /proc proc rw,nodiratime 0 0
sysfs /sys sysfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/root /.dev xfs rw,noatime,usrquota 0 0
none /dev tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda3 /var xfs rw 0 0


According to mount's output I thought that my /dev/ is mounted on a
tmpfs filesystem. Is this the case?

So I looked through the kernel-config an found EAs for tmpfs but not
ACLs... :-(
Is it under development or is there another solution?


By the way,.. is it possible to configure udev in such a way that it
automatically sets ACLs?

Lots of thanks in advance and greetings,
cam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB3GgVmstaume4L0MRAlO/AJ45kj+3/JrKB4oDHGi0KFS4qOl7CgCfVgie
XubmTu1YtnCM4ZBVd+4a+cA=FYpW
-----END PGP SIGNATURE-----



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

             reply	other threads:[~2005-01-05 22:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-05 22:20 Christoph Anton Mitterer [this message]
2005-01-06  1:38 ` udev and access control lists Kay Sievers
2005-01-06 11:52 ` Christoph Anton Mitterer
2005-01-06 12:10 ` Christoph Anton Mitterer

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=41DC6816.30801@mathematica.scientia.net \
    --to=cam@mathematica.scientia.net \
    --cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).