Public bug reported: The access rights for /dev/prandom are set to 0600. The prandom file is created upon loading the prng module.
Expectation: The access rights are set to 0644. Details ===== root@s83lp22:~# modinfo prng filename: /lib/modules/4.4.0-13-generic/kernel/arch/s390/crypto/prng.ko description: s390 PRNG interface author: IBM Corporation license: GPL srcversion: B48774F4AEBAE6DB4983C98 alias: cpu:type:*:feature:*0003* depends: intree: Y vermagic: 4.4.0-13-generic SMP mod_unload modversions parm: mode:int parm: prng_mode:PRNG mode: 0 - auto, 1 - TDES, 2 - SHA512 parm: chunksize:int parm: prng_chunk_size:PRNG read chunk size in bytes parm: reseed_limit:int parm: prng_reseed_limit:PRNG reseed limit Contact Information = [email protected] ---uname output--- Linux s83lp22 4.4.0-13-generic #29-Ubuntu SMP Fri Mar 11 19:30:41 UTC 2016 s390x s390x s390x GNU/Linux Machine Type = Manufacturer: IBM Type: 2964 Model: 702 N96 ---Steps to Reproduce--- 1) modprobe prng 2) ls -l /dev/prandom This is a s390x issue. ** Affects: ubuntu Importance: Undecided Assignee: Dimitri John Ledkov (xnox) Status: New ** Tags: architecture-s39064 bugnameltc-139153 severity-high targetmilestone-inin--- ** Tags added: architecture-s39064 bugnameltc-139153 severity-high targetmilestone-inin--- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1558275 Title: wrong/missing permissions for device file /dev/prandom (prng.ko) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1558275/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
