[Bug 993868] Re: udev creates dvb directory with wrong permissions

Launchpad Bug Tracker 993868 at bugs.launchpad.net
Sun May 6 16:28:12 UTC 2012


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
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/993868

Title:
  udev creates dvb directory with wrong permissions

Status in “udev” package in Ubuntu:
  Confirmed

Bug description:
  I have a dvb-S tv tuner card (Technisat SkyStar 2) installed, the
  drivers are loaded and udev creates the appropriate device nodes.
  Except, the permissions and ownership of the /dev/dvb and
  /dev/dvb/adapter0 directories are wrong (root:root instead of
  root:video). This results in a ordinary user not being able to access
  the card.

  helmut at helmut-desktop:~$ groups
  helmut adm lp dialout cdrom video plugdev lpadmin admin sambashare vboxusers
  helmut at helmut-desktop:~$ ls /dev/ -la | grep dvb
  drw-r-----   3 root root            60 Mai  3 11:55 dvb
  helmut at helmut-desktop:~$ ls /dev/dvb
  ls: Öffnen von Verzeichnis /dev/dvb nicht möglich: Keine Berechtigung
  helmut at helmut-desktop:~$ sudo ls /dev/dvb -la
  [sudo] password for helmut: 
  insgesamt 0
  drw-r-----  3 root root   60 Mai  3 11:55 .
  drwxr-xr-x 17 root root 4460 Mai  3 11:55 ..
  drw-r-----  2 root root  120 Mai  3 11:55 adapter0
  helmut at helmut-desktop:~$ sudo ls /dev/dvb/adapter0 -la
  insgesamt 0
  drw-r-----  2 root root     120 Mai  3 11:55 .
  drw-r-----  3 root root      60 Mai  3 11:55 ..
  crw-rw----+ 1 root video 212, 0 Mai  3 11:55 demux0
  crw-rw----+ 1 root video 212, 1 Mai  3 11:55 dvr0
  crw-rw----+ 1 root video 212, 3 Mai  3 11:55 frontend0
  crw-rw----+ 1 root video 212, 2 Mai  3 11:55 net0
  helmut at helmut-desktop:~$ 

  The udev rules file is unchanged, the matching entry being:
  (/lib/udev/rules.d/50-udev-default.rules)

  SUBSYSTEM=="dvb", GROUP="video"

  sudo udevadm info --query=all --attribute-walk
  --name=/dev/dvb/adapter0/demux0 brings:

    looking at device '/devices/pci0000:00/0000:00:14.4/0000:03:03.0/dvb/dvb0.demux0':
      KERNEL=="dvb0.demux0"
      SUBSYSTEM=="dvb"
      DRIVER==""

    looking at parent device '/devices/pci0000:00/0000:00:14.4/0000:03:03.0':
      KERNELS=="0000:03:03.0"
      SUBSYSTEMS=="pci"
      DRIVERS=="b2c2_flexcop_pci"
      ATTRS{vendor}=="0x13d0"
      ATTRS{device}=="0x2103"
      ATTRS{subsystem_vendor}=="0x13d0"
      ATTRS{subsystem_device}=="0x2103"
      ATTRS{class}=="0x028000"
      ATTRS{irq}=="21"
      ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003"
      ATTRS{local_cpulist}=="0-1"
      ATTRS{numa_node}=="0"
      ATTRS{dma_mask_bits}=="32"
      ATTRS{consistent_dma_mask_bits}=="32"
      ATTRS{enable}=="1"
      ATTRS{broken_parity_status}=="0"
      ATTRS{msi_bus}==""

  As a workaround I use a script to set the correct permissions, however
  it would be nice to have this working out of the box.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: udev 175-0ubuntu9
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  CheckboxSubmission: 1fbcf2fff5a20e144142fab6a590f695
  CheckboxSystem: 0531969bcfd4f03af7405c98dc94a948
  CustomUdevRuleFiles: 71-dvb.rules 98_smfpautoconf_samsung.rules 99_smfpautoconf_samsung.rules
  Date: Thu May  3 12:02:46 2012
  MachineType: MICRO-STAR INTERANTIONAL CO.,LTD MS-7373
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: root=UUID=d68114ca-0252-4593-9d0a-c9e596d607a3 ro xforcevesa quiet splash
  SourcePackage: udev
  UpgradeStatus: Upgraded to precise on 2012-04-27 (5 days ago)
  dmi.bios.date: 10/31/2007
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: V1.1
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: MS-7373
  dmi.board.vendor: MICRO-STAR INTERANTIONAL CO.,LTD
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV1.1:bd10/31/2007:svnMICRO-STARINTERANTIONALCO.,LTD:pnMS-7373:pvr1.0:rvnMICRO-STARINTERANTIONALCO.,LTD:rnMS-7373:rvr1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: MS-7373
  dmi.product.version: 1.0
  dmi.sys.vendor: MICRO-STAR INTERANTIONAL CO.,LTD

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




More information about the foundations-bugs mailing list