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

Re: unexecutable debian scripts



Michael Alan Dorman writes ("Re: unexecutable debian scripts "):
> In message <[🔎] m0tx3Np-0002Z1C@chiark.chu.cam.ac.uk>, Ian Jackson writes:
> >rdm@tad.micro.umn.edu writes ("unexecutable debian scripts"):
> >> While examining the dpkg info directory, I happened to notice that a 
> >> lot of the debian scripts are unexecutable.
> >You must have looked while packages were `unpacked'; dpkg chmods the
> >scripts to make them executable before it runs them, IIRC.
> 
> Is this a "Just In Case" feature, or is this meant to imply that such
> scripts in the .deb packages _should not_ be executable?

It's a `just in case' feature.  At the time I implemented this there
were many packages which were broken in this way.

I've changed dpkg-deb to refuse to build such packages :-).

Ian.



Reply to: