[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: More dpkg stuff



Ian Jackson wrote:
: 
: Oh dear.
: 
: Heiko Schlitterman says that he's changed some programs (he doesn't
: say exactly which) to change the ownership of debian/files and
: debian/substvars.

: case `umask` in
: *77)    echo >&2 \
:  'dpkg-buildpackage: warning: bad umask will probably break build'
:         ;;
: esac

Why?  If we can handle such case (umask != *77), why we don't handle
this?

Grep in scripts/ for 'fowner' 

controllib.pl:@fowner = (getpwnam(getlogin()))[2,3];
dpkg-distaddfile.pl:chown(@fowner, "$fileslistfile.new") 
dpkg-gencontrol.pl:chown(@fowner, "$fileslistfile.new") 
dpkg-shlibdeps.pl:chown(@fowner, "$varlistfile.new") ||


I think, this behaviour is that, what would be expected.  Please correct
me, If I'm wrong.


    Heiko
--
email : heiko@lotte.sax.de heiko@debian.org heiko@sax.de
pgp   : A1 7D F6 7B 69 73 48 35  E1 DE 21 A7 A8 9A 77 92 
finger: heiko@sax.sax.de         heiko@master.debian.org


Reply to: