Bug#646880: pptp-linux: pptpsetup creates /etc/ppp/peers/$PEERNAME world-readable

2017-08-04 Thread James Cameron
Christoph Biedl wrote: > James Cameron wrote... > > pptpsetup preserves mode on /etc/ppp/chap-secrets, but uses root > > umask 0022 on /etc/ppp/peers/$TUNNEL, and group dip because of > > setgid bit on /etc/ppp/peers. > > > > My perl is rusty. As far as I can see, it would be a call to chmod > >

Bug#646880: pptp-linux: pptpsetup creates /etc/ppp/peers/$PEERNAME world-readable

2017-08-04 Thread Christoph Biedl
tags 646880 upstream confirmed thanks James Cameron wrote... > pptpsetup preserves mode on /etc/ppp/chap-secrets, but uses root > umask 0022 on /etc/ppp/peers/$TUNNEL, and group dip because of > setgid bit on /etc/ppp/peers. > > My perl is rusty. As far as I can see, it would be a call to

Bug#646880: pptp-linux: pptpsetup creates /etc/ppp/peers/$PEERNAME world-readable

2017-08-04 Thread James Cameron
pptpsetup preserves mode on /etc/ppp/chap-secrets, but uses root umask 0022 on /etc/ppp/peers/$TUNNEL, and group dip because of setgid bit on /etc/ppp/peers. My perl is rusty. As far as I can see, it would be a call to chmod after open, or a call to umask before open. Latter seems easy, but

Bug#646880: pptp-linux: pptpsetup creates /etc/ppp/peers/$PEERNAME world-readable

2011-10-27 Thread Daniel Kahn Gillmor
Package: pptp-linux Version: 1.7.2-6 Severity: normal By default, /etc/ppp/peers/provider and /etc/ppp/peers/dsl-proivider are owned root:dip, and mode 0640 (not world-readable). however, pptpsetup creates files in /etc/ppp/peers/ that is mode 0644. I realize that there is no secret stored here

Bug#646880: pptp-linux: pptpsetup creates /etc/ppp/peers/$PEERNAME world-readable

2011-10-27 Thread Ola Lundqvist
Thanks for the report. Best regards, // Ola On Fri, Oct 28, 2011 at 12:27:55AM -0400, Daniel Kahn Gillmor wrote: Package: pptp-linux Version: 1.7.2-6 Severity: normal By default, /etc/ppp/peers/provider and /etc/ppp/peers/dsl-proivider are owned root:dip, and mode 0640 (not