Debian Bug report logs - #4901
dpkg and file perms

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: Ian Jackson <ian@chiark.greenend.org.uk>

Date: Tue, 22 Oct 1996 17:48:04 UTC

Severity: normal

Done: Anthony Towns <ajt@master.debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Acknowledgement sent to Ian Jackson <ian@chiark.greenend.org.uk>:
New bug report received and filed, but not forwarded. (full text, mbox, link).


Message #3 received at quiet@bugs.debian.org (full text, mbox, reply):

From: Ian Jackson <ian@chiark.greenend.org.uk>
To: Debian developers list <debian-devel@lists.debian.org>
Subject: Re: dpkg and file perms
Date: Tue, 22 Oct 96 18:25 BST
Package: dpkg
Version: 1.4.0

dpkg deliberately doesn't set permissions on existing directories.
This should be documented, but isn't (I'll BCC this to the bug system
to remind myself to fix it).

Andy Guy wrote:
[...]
> So I checked them out by hand.  A simple fix would change this (line
> 75 in dpkg-deb/info.c change "mx" to "pmx").

You have fundamentally misunderstood the way dpkg installs things.
Please do not attempt to modify the source until you understand it
better.  Thanks.

>   However this would also
> allow a bad package to change the perms on "/" forinstance - not so
> good.  Not sure what to do but we should do something - otherwise
> there is no easy way to fix problems like this.

Fix it in the postinst of the package which had an earlier broken
version.

Ian.


Information forwarded to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>:
Bug#4901; Package dpkg. (full text, mbox, link).


Acknowledgement sent to remco@blaakmeer.student.utwente.nl (Remco Blaakmeer):
Extra info received and forwarded to maintainer. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>. (full text, mbox, link).


Message #8 received at 4901-maintonly@bugs.debian.org (full text, mbox, reply):

From: remco@blaakmeer.student.utwente.nl (Remco Blaakmeer)
To: 4901-maintonly@bugs.debian.org
Subject: Old bugs need to be looked at
Date: Sun, 1 Feb 1998 12:23:46 +0100 (CET)
This is an automated message sent to all bugs older than one year.

This bug is very old. Please take a look at it and see if you can fix it.
If it has already been fixed, please close it.

If you have problems fixing it or if you don't have the time to fix it,
please ask the people on debian-devel@lists.debian.org for help, so that
at least the oldest bugs can be solved before Debian 2.0 is released.

Remco Blaakmeer


Bug reassigned from package `dpkg' to `dpkg-iwj'. Request was from Wichert Akkerman <wichert@cs.leidenuniv.nl> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg-iwj' to `dpkg'. Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. (full text, mbox, link).


Bug closed, ack sent to submitter - they'd better know why ! Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg' to `dpkg'. Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 19 02:16:20 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.