Sorry, it seems my test was bad in raring. chown does not clear the
acls anywhere, so udev needs to do it. re-marking for udev.
** Summary changed:
- chown does not update acls if there are >1 user acls (in quantal)
+ udevadm trigger --action=change not working in quantal
** Also affects: udev (Ubuntu)
Importance: Undecided
Status: New
** Changed in: udev (Ubuntu)
Status: New => Confirmed
** Changed in: udev (Ubuntu)
Importance: Undecided => High
** Description changed:
- ==== Update ====
- Here is a simple reproducible testcase. This break with both ext4 and xfs,
- but only on quantal. On raring it works correctly.
-
- touch xxx
- setfacl -m user:ubuntu:rw- xxx
- setfacl -m group::--- xxx
- getfacl xxx
- chmod g+rw xxx
- getfacl xxx
-
- You'll see:
- # file: xxx
- # owner: serge
- # group: serge
- user::rw-
- user:serge:rw-
- group::---
- mask::rw-
- other::r--
-
- In raring (and precise), the group acl gets update to be rw-.
- ================
-
For bug 1057024, we have qemu-kvm postinst call udevadm trigger
--action=change. This is to make udev recalculate permissions for
/dev/kvm based on the new /lib/udev/rules.d/40-qemu-kvm.rules file.
In precise, this causes /dev/kvm's acls to be correctly set so that
group has rw permissions.
In quantal, with the exact same rules file, it does not. After a
reboot, permissions are set correctly. But manually running udevadm
trigger --subsystem=misc --action=change (or variations of that) does
not change the group acl. It changes the group ownership, and part of
the acl, but not the group acl.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1092715
Title:
udevadm trigger --action=change not working in quantal
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1092715/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs