Bug#573904: [Piuparts-devel] Bug#573904: Bug#573904:

2010-04-21 Thread Holger Levsen
Hey, On Mittwoch, 21. April 2010, Cleto Martin Angelina wrote: > Yeah... me too. Resetting the previous value of umask is just a > prevention decision because through the program code a lot of files > and directories are created. It is necessary to study if other > files/directories depends on con

Bug#573904: [Piuparts-devel] Bug#573904: Bug#573904:

2010-04-21 Thread Cleto Martin Angelina
> Is my current (commited) modification, though I'm unsure if resetting the > umask to the previous value is really necessary... Yeah... me too. Resetting the previous value of umask is just a prevention decision because through the program code a lot of files and directories are created. It is ne

Bug#573904: [Piuparts-devel] Bug#573904: Bug#573904:

2010-04-21 Thread Holger Levsen
Hi Cleto, On Dienstag, 20. April 2010, Cleto Martin Angelina wrote: > >     tmpdir = tempfile.mkdtemp(dir=settings.tmpdir) > > -    os.makedirs(os.path.join(tmpdir, name, 'DEBIAN')) > > +    os.makedirs(os.path.join(tmpdir, name, 'DEBIAN'), mode = 0755) > >     control = deb822.Deb822() > >     co

Bug#573904: [Piuparts-devel] Bug#573904:

2010-04-20 Thread Cleto Martin Angelina
Hi Holger, > --- piuparts.py (revision 678) > +++ piuparts.py (working copy) > @@ -426,7 +426,7 @@ >     # Inspired by pbuilder's pbuilder-satisfydepends-aptitude > >     tmpdir = tempfile.mkdtemp(dir=settings.tmpdir) > -    os.makedirs(os.path.join(tmpdir, name, 'DEBIAN')) > +    os.makedirs(os.p

Bug#573904: [Piuparts-devel] Bug#573904:

2010-04-20 Thread Holger Levsen
tags 573904 + pending thanks Hi Cleto, inspired by your patch I now have applied (r679) a much simpler one: --- piuparts.py (revision 678) +++ piuparts.py (working copy) @@ -426,7 +426,7 @@ # Inspired by pbuilder's pbuilder-satisfydepends-aptitude tmpdir = tempfile.mkdtemp(dir=settin

Bug#573904:

2010-04-18 Thread Cleto Martin Angelina
--- piuparts.py 2009-12-16 21:49:23.0 +0100 +++ ../piuparts.new.py 2010-04-18 20:42:31.0 +0200 @@ -422,7 +422,17 @@ # Inspired by pbuilder's pbuilder-satisfydepends-aptitude tmpdir = tempfile.mkdtemp(dir=settings.tmpdir) -os.makedirs(os.path.join(tmpdir, name, 'DEBI

Bug#573904: piuparts depends on a correct umask to build piupart-depends-dummy

2010-03-14 Thread Thomas Preud'homme
Package: piuparts Version: 0.38 Severity: normal When building piuparts-depends-dummy, piuparts create files with permission depending on current umask. This causes piuparts-depends-dummy to fail building with a umask of 027 with the error: 4m59.8s DEBUG: Starting command: ['dpkg-deb', '-b', '/t