[Bug 1152718] Re: udevadm seems to set incorrect permissions for /dev/fuse

2013-04-17 Thread Brian Murray
I was able to recreate this on raring but only when running the udev
command under sudo e.g.

sudo udevadm trigger --subsystem-match=misc --action=change

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1152718

Title:
  udevadm seems to set incorrect permissions for /dev/fuse

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1152718/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1152718] Re: udevadm seems to set incorrect permissions for /dev/fuse

2013-04-17 Thread Steve Langasek
I reproduced this here, and took a before/after snapshot of the /dev
permissions.  Most of the devices listed have been /touched/ by the
command, which is expected, but their permissions have not been changed
- the new permissions are still the correct ones.

The only exceptions are:

-crw-rw-rwT  1 root   root 10, 229 Apr 11 08:48 fuse
+crw--T  1 root   root 10, 229 Apr 17 11:21 fuse
-crw-rw-r--+ 1 root   root 10,  62 Apr 11 08:48 rfkill
+crw-r--r--+ 1 root   root 10,  62 Apr 17 11:21 rfkill

It's possible this is a fuse-specific problem rather than a udev
problem.  Looking further.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1152718

Title:
  udevadm seems to set incorrect permissions for /dev/fuse

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1152718/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1152718] Re: udevadm seems to set incorrect permissions for /dev/fuse

2013-04-17 Thread Steve Langasek
Ah.  In /lib/udev/rules.d/50-udev-default.rules:

  KERNEL==fuse, ACTION==add,  MODE=0666,
OPTIONS+=static_node=fuse

So most udev rules apply MODE settings unconditionally, but the fuse
rule for some reason applies permissions only for ACTION==add.  That
means that when we rescan with --action=change, this device gets the
default device permissions applied instead of the ones intended for
/dev/fuse.

I think the correct fix here is to drop the 'ACTION==add', but this
should be checked with upstream to be sure.

As for rfkill, I don't see what's causing the permission change.  It may
be an adverse interaction with udev-acl, I'm not sure.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1152718

Title:
  udevadm seems to set incorrect permissions for /dev/fuse

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1152718/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1152718] Re: udevadm seems to set incorrect permissions for /dev/fuse

2013-04-17 Thread Steve Langasek
Confirmed that this has been fixed upstream in later udev.  So we should
just drop this 'ACTION=add' here.

** Changed in: udev (Ubuntu)
   Status: Confirmed = Triaged

** Changed in: udev (Ubuntu)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1152718

Title:
  udevadm seems to set incorrect permissions for /dev/fuse

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1152718/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1152718] Re: udevadm seems to set incorrect permissions for /dev/fuse

2013-04-17 Thread Brian Murray
** Changed in: udev (Ubuntu)
   Status: Triaged = In Progress

** Changed in: udev (Ubuntu)
 Assignee: (unassigned) = Brian Murray (brian-murray)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1152718

Title:
  udevadm seems to set incorrect permissions for /dev/fuse

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1152718/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1152718] Re: udevadm seems to set incorrect permissions for /dev/fuse

2013-04-17 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/raring-proposed/udev

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1152718

Title:
  udevadm seems to set incorrect permissions for /dev/fuse

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1152718/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1152718] Re: udevadm seems to set incorrect permissions for /dev/fuse

2013-04-17 Thread Launchpad Bug Tracker
This bug was fixed in the package udev - 175-0ubuntu26

---
udev (175-0ubuntu26) raring; urgency=low

  * Drop the add ACTION condition for the fuse rule (LP: #1152718)
 -- Brian Murray br...@ubuntu.com   Wed, 17 Apr 2013 14:22:30 -0700

** Changed in: udev (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1152718

Title:
  udevadm seems to set incorrect permissions for /dev/fuse

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1152718/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1152718] Re: udevadm seems to set incorrect permissions for /dev/fuse

2013-04-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: udev (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1152718

Title:
  udevadm seems to set incorrect permissions for /dev/fuse

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1152718/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs