Bug#238334: marked as done (dpkg: -x changes the permissions of the target dir)
Your message dated Wed, 31 Mar 2004 17:45:04 +0200
with message-id <87d66tyq9r.fsf@yiwaz.raw.no>
and subject line Bug#238334: dpkg: -x changes the permissions of the target dir
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Mar 2004 15:46:51 +0000
>From jean-luc.coulon@wanadoo.fr Tue Mar 16 07:46:51 2004
Return-path: <jean-luc.coulon@wanadoo.fr>
Received: from smtp6.wanadoo.fr (mwinf0604.wanadoo.fr) [193.252.22.25]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1B3GmJ-0002uh-00; Tue, 16 Mar 2004 07:46:51 -0800
Received: from tangerine.coulon.evette (ADijon-107-1-18-38.w80-14.abo.wanadoo.fr [80.14.119.38])
by mwinf0604.wanadoo.fr (SMTP Server) with ESMTP
id 780F92800294; Tue, 16 Mar 2004 16:46:17 +0100 (CET)
Received: from localhost ([127.0.0.1])
by tangerine.coulon.evette with esmtp (Exim 4.30)
id 1B3Glj-0000wL-W7; Tue, 16 Mar 2004 16:46:16 +0100
Received: from tangerine.coulon.evette ([127.0.0.1])
by localhost (tangerine [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 01330-06; Tue, 16 Mar 2004 16:46:15 +0100 (CET)
Received: from localhost ([127.0.0.1] helo=tangerine.coulon.evette)
by tangerine.coulon.evette with esmtp (Exim 4.30)
id 1B3Gli-0000wD-Ck; Tue, 16 Mar 2004 16:46:14 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Jean-Luc Coulon (f5ibh)" <jean-luc.coulon@wanadoo.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg: -x changes the permissions of the target dir
X-Mailer: reportbug 2.53
Date: Tue, 16 Mar 2004 16:46:14 +0100
Message-ID: <[🔎] E1B3Gli-0000wD-Ck@tangerine.coulon.evette>
X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at coulon.evette
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_12
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_12
X-Spam-Level:
Package: dpkg
Version: 1.10.20
Severity: minor
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
If I do a dpkg -x <package_name> <target_directory>, the
permissions of the target directory are changed to
rwxr-xr-x root root
(I had my /tmp (1777 permission) changed this way :-/ )
- --
Regards
- Jean-Luc
- -- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.4.25-k6-7
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro
Versions of packages dpkg depends on:
ii dselect 1.10.20 a user tool to manage Debian packa
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAVyFGUdGGXzzGnNARAhftAJ4hAZCXp0sym1X+1R5niqr2ORZ27wCfcf+h
zCDRRLi/7Mt14pjZHppuEto=
=JU8Q
-----END PGP SIGNATURE-----
---------------------------------------
Received: (at 238334-done) by bugs.debian.org; 31 Mar 2004 23:17:02 +0000
>From tfheen@raw.no Wed Mar 31 15:17:02 2004
Return-path: <tfheen@raw.no>
Received: from vawad.samfundet.no (vawad.raw.no) [129.241.93.49]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1B8oxC-0006oM-00; Wed, 31 Mar 2004 15:17:02 -0800
Received: from ti200710a080-3323.bb.online.no ([80.213.44.251] helo=yiwaz.raw.no)
by vawad.raw.no with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24)
(Exim 4.30)
id 1B8oxT-0007t8-Mg; Thu, 01 Apr 2004 01:17:20 +0200
Received: by yiwaz.raw.no (Postfix, from userid 1000)
id B3B2F96632; Wed, 31 Mar 2004 17:45:04 +0200 (CEST)
To: "Jean-Luc Coulon (f5ibh)" <jean-luc.coulon@wanadoo.fr>
Cc: 238334-done@bugs.debian.org
Subject: Re: Bug#238334: dpkg: -x changes the permissions of the target dir
Mail-Copies-To: never
References: <[🔎] E1B3Gli-0000wD-Ck@tangerine.coulon.evette>
From: Tollef Fog Heen <tfheen@raw.no>
Organization: Private
Date: Wed, 31 Mar 2004 17:45:04 +0200
In-Reply-To: <[🔎] E1B3Gli-0000wD-Ck@tangerine.coulon.evette> (Jean-Luc Coulon's
message of "Tue, 16 Mar 2004 16:46:14 +0100")
Message-ID: <87d66tyq9r.fsf@yiwaz.raw.no>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 238334-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.3 required=4.0 tests=BAYES_00,DATE_IN_PAST_06_12,
HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
* "Jean-Luc Coulon (f5ibh)"
| If I do a dpkg -x <package_name> <target_directory>, the
| permissions of the target directory are changed to
| rwxr-xr-x root root
No, they are not.
They are however changed according to what is in the deb, which I
believe is correct behaviour:
: tfheen@yiwaz /tmp > mkdir a
: tfheen@yiwaz /tmp > tar cf test.tar a
: tfheen@yiwaz /tmp > chmod 700 a
: tfheen@yiwaz /tmp > ls -ld a
drwx------ 2 tfheen tfheen 4096 2004-03-31 17:38 a/
: tfheen@yiwaz /tmp > tar xf test.tar
: tfheen@yiwaz /tmp > ls -ld a
drwxr-xr-x 2 tfheen tfheen 4096 2004-03-31 17:38 a/
: tfheen@yiwaz /tmp >
>From dpkg-deb(1):
--extract, -x, --vextract, -X
Extracts the filesystem tree from a package archive into the
specified directory.
--vextract (-X) prints a listing of the files extracted as it
goes, while --extract (-x) is silent unless an error occurs.
Note that extracting a package to the root directory will not
result in a correct installation ! Use dpkg to install pack-
ages.
I'm closing this non-bug, please feel free to convince me otherwise.
--
Tollef Fog Heen ,''`.
UNIX is user friendly, it's just picky about who its friends are : :' :
`. `'
`-
Reply to: