Added linux-kbuild to CC. On Friday 04 September 2009, Ben Hutchings wrote: > The packaged files' permissions are implicitly dependent on the > current umask. Not only can this result in surprisingly restrictive > permissions, but dpkg-deb will fail if the DEBIAN directory does not > have permissions 755 or 775. Therefore, set the umask to 022 before > building a package. > > Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx> Acked-by: Frans Pop <elendil@xxxxxxxxx> > --- > scripts/package/builddeb | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/scripts/package/builddeb b/scripts/package/builddeb > index 8b357b0..24cfd80 100644 > --- a/scripts/package/builddeb > +++ b/scripts/package/builddeb > @@ -12,6 +12,8 @@ > > set -e > > +umask 022 > + > create_package() { > local pname="$1" pdir="$2" > -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html