Re: Restrictive file permissions

2013-12-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Done. On 05.12.2013 19:10, Colin Watson wrote: > I learned from a conversation on IRC today that GRUB has started to set > restrictive file permissions in a few places since 2.00. Notably: > > grub-core/osdep/unix/hostdisk.c:184: return open (os_dev, flags, S_IRUSR | > S_IWUS

Re: Restrictive file permissions

2013-12-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 05.12.2013 19:10, Colin Watson wrote: > I learned from a conversation on IRC today that GRUB has started to set > restrictive file permissions in a few places since 2.00. Notably: > > grub-core/osdep/unix/hostdisk.c:184: return open (os_dev, flags, S_IRUSR | > S_IWUSR); &g

Re: Restrictive file permissions

2013-12-05 Thread Daniel Kahn Gillmor
On 12/05/2013 04:20 PM, Jonathan McCune wrote: > On Thu, Dec 5, 2013 at 10:10 AM, Colin Watson wrote: > >> I think we should identify the call sites that really need restricted >> permissions, explicitly lock them down, and open things back up for >> everything else. > > I agree that this policy

Restrictive file permissions

2013-12-05 Thread Colin Watson
I learned from a conversation on IRC today that GRUB has started to set restrictive file permissions in a few places since 2.00. Notably: grub-core/osdep/unix/hostdisk.c:184: return open (os_dev, flags, S_IRUSR | S_IWUSR); grub-core/osdep/bsd/hostdisk.c:93: ret = open (os_dev, flags, S_IRUSR