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

Re: problems rebuilding hello



> 
> As an experiment (before working on a package myself) I am trying
> to rebuild the hello binary package. Source is from hello_1.3-13;
> running "debian/rules build" compiles fine, but
>  "debian/rules binary-arch" gives, after a while,
> 
> dpkg --build debian/tmp ..
> dpkg-deb: building package `hello' in `../hello_1.3-13_i386.deb'.
> dpkg-deb: maintainer script `postinst' has bad permissions 700 (must be 
> >=0555 and <=0775)
> make: *** [binary-arch] Error 2
> 
> Seems a bit strange; 0555 <= 700 <= 0775 as far as I can see.
> 
> [8:27pm] root@hamishpc:~/tmp/hello-1.3# ls -l debian/
> total 15
> -rw-------   1 root     root         2561 Nov  8 20:22 changelog
> -rw-------   1 root     root          612 Nov  8 20:22 control
> -rw-------   1 root     root         2412 Nov  8 20:22 copyright
> -rw-------   1 root     root           37 Nov  8 20:26 files
> -rw-------   1 root     root          122 Nov  8 20:22 postinst
> -rw-------   1 root     root           68 Nov  8 20:22 prerm
> -rwx--x--x   1 root     root         2171 Nov  8 20:22 rules
> -rw-------   1 root     root           33 Nov  8 20:26 substvars
> drwxr-xr-x   4 root     root         1024 Nov  8 20:26 tmp
> 
> 
> 
> thanks,
> Hamish
> 

It is probably meant to be compared digit by digit: 0 <= 0 <= 0, 5 <= 7 <= 7,
but 5 !<= 0 <= 7.
      ^ Note the NOT operation.

I don't know why the permissions must be rx for all, however.
Either it's a bug in the hello package or a bug in dpkg, I dare say.


Courageous,

							MartinS

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: