** Description changed:

  Binary package hint: udev
  
  When I ssh to my server I see "permission denied messages" in my
  console:
  
  [...]
  -bash: /dev/null: Permission denied
  -bash: /dev/null: Permission denied
  -bash: /dev/null: Permission denied
  -bash: /dev/null: Permission denied
  -bash: /dev/null: Permission denied
  -bash: /dev/null: Permission denied
  [...]
  
  I [Ctrl] + [c] out of this loop and get dropped to bash. Checking then
  the permissions on "/dev/null", I see "crw-------" owned by root:root.
  After a "# /etc/init.d/udev restart" the permissions are "crw-rw-rw-". I
  recently upgraded from stock Dapper to Edgy, and currently running
  "default" Edgy (2.6.17-10-386).
  
  udev is configured to properly set the permissions on the file (the
  following is in '/etc/udev/rules.d/40-permissions.rules':
  KERNEL=="null", MODE="0666").
  
  I still experience this problem on every reboot.
  
  Attached is my "/var/log/udev".
  
+ 
  "# udevtest /class/mem/null" gives:
  
  main: looking at device '/class/mem/null' from subsystem 'mem'
  udev_rules_get_name: no node name set, will use kernel name 'null'
  udev_db_get_device: no db file to read /dev/.udev/db/[EMAIL PROTECTED]@null: 
No such file or directory
  udev_node_add: creating device node '/dev/null', major = '1', minor = '3', 
mode = '0666', uid = '0', gid = '0'
  main: run: 'socket:/org/freedesktop/hal/udev_event'
  main: run: 'socket:/org/kernel/udev/monitor'
+ 
+ 
+ I don't know if this is related, but doing "#  ls -al /dev/ | grep 
crw-------" gives
+ 
+ crw-------  1 root root      5,   1 2006-10-31 07:39 console
+ crw-------  1 root root    109,   0 2006-10-30 23:46 lvm
+ crw-------  1 root root      1,   3 2006-10-27 22:52 null
+ crw-------  1 root root    108,   0 2006-10-27 22:52 ppp
+ crw-------  1 root root      4,   1 2006-10-30 23:46 tty1
+ crw-------  1 root root      4,   2 2006-10-30 23:46 tty2
+ crw-------  1 root root      4,   3 2006-10-30 23:46 tty3
+ crw-------  1 root root      4,   4 2006-10-30 23:46 tty4
+ crw-------  1 root root      4,   5 2006-10-30 23:46 tty5
+ crw-------  1 root root      4,   6 2006-10-30 23:46 tty6
+ 
+ 
+ And "# ls-al /lib/udev/devices/ |grep crw-------" gives
+ 
+ crw------- 1 root root   5, 1 2006-10-27 22:52 console
+ crw------- 1 root root   1, 3 2006-10-27 22:52 null
+ crw------- 1 root root 108, 0 2006-10-27 22:52 ppp

-- 
-bash: /dev/null: Permission denied
https://launchpad.net/bugs/69516

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

Reply via email to