[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.


FFrom debian-devel-request@Pixar.com Sat Mar 16 00:31:18 1996
Return-Path: <debian-devel-request@Pixar.com>
Delivered-To: jdassen@master.debian.org
Received: (qmail-queue invoked from smtpd); 16 Mar 1996 00:31:17 GMT
Received: from hpcsos.col.hp.com (daemon@15.255.240.16)
  by master.debian.org with SMTP; 16 Mar 1996 00:31:16 GMT
Received: from mongo.pixar.com by hpcsos.col.hp.com with SMTP
	(1.37.109.16/15.5+IOS 3.14) id AA176284599; Fri, 15 Mar 1996 17:03:19 -0700
Received: (qmail-queue invoked by uid 10013); 16 Mar 1996 00:03:18 GMT
Old-Return-Path: <iwj10@cus.cam.ac.uk>
Subject: Bug#2546: dpkg inappropriately marks packages as installed
Reply-To: Ian Jackson <ian@chiark.chu.cam.ac.uk>, debian-bugs@Pixar.com
Resent-From: Ian Jackson <ian@chiark.chu.cam.ac.uk>
Resent-To: debian-devel@Pixar.com
Resent-Date: Sat, 16 Mar 1996 00:03:02 GMT
Resent-Message-Id: <debian-bugs-handler.2546.B03152355500@pixar.com>
Message-Id: <[🔎] m0txjJD-0002ZHC@chiark.chu.cam.ac.uk>
Date: Fri, 15 Mar 96 23:53 GMT
From: Ian Jackson <ian@chiark.chu.cam.ac.uk>
To: debian-bugs@Pixar.com
Newsgroups: chiark.mail.debian.devel
In-Reply-To: <[🔎] 19960315232332.11374.qmail@tad.micro.umn.edu>
References: <[🔎] m0tx3Np-0002Z1C@chiark.chu.cam.ac.uk>
	<[🔎] 19960314150257.2786.qmail@tad.micro.umn.edu>
	<[🔎] m0txgzc-0002ZcC@chiark.chu.cam.ac.uk>
	<[🔎] 19960315225600.11230.qmail@tad.micro.umn.edu>
	<[🔎] 19960315232332.11374.qmail@tad.micro.umn.edu>
X-Mailing-List: <debian-devel@Pixar.com> archive/latest/11687
X-Loop: debian-devel@Pixar.com
Precedence: list
Resent-Sender: debian-devel-request@Pixar.com

Raul Miller writes ("Bug#2546: dpkg inappropriately marks packages as installed"):
> Ian Jackson writes:
>  >  > dpkg will not do anything to the permissions of files in /usr/bin - if
>  >  > the package is broken there dpkg won't fix it.
>
> Raul Miller:
>  > I've had other cases in the last couple days where re-installing the
>  > package fixed the problem
>
> That wasn't clear enough -- I've had other cases of executables not
> being executable in the last couple days, where re-installing the
> package fixed the problem.

!

Perhaps you made a mistake while doing a recursive chmod ?

Ian.



Reply to: