From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Anton Mitterer Date: Wed, 05 Jan 2005 22:20:06 +0000 Subject: udev and access control lists Message-Id: <41DC6816.30801@mathematica.scientia.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org -----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,mode55) /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