Your message dated Tue, 19 Aug 2003 23:01:10 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Duplicate
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; 17 Aug 2003 22:01:28 +0000
>From [EMAIL PROTECTED] Sun Aug 17 17:01:26 2003
Return-path: <[EMAIL PROTECTED]>
Received: from smtp1.apol.com.tw (smtp.apol.com.tw) [203.79.224.62]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 19oVaY-0007RX-00; Sun, 17 Aug 2003 17:01:26 -0500
Received: from debian (TC218-187-73-188.2-3.pl.apol.com.tw [218.187.73.188])
by smtp.apol.com.tw (Postfix) with ESMTP id 1FCFC1044F6B
for <[EMAIL PROTECTED]>; Mon, 18 Aug 2003 06:01:18 +0800 (CST)
Received: from jidanni by debian with local (Exim 4.20)
id 19oT6a-0000iI-Db; Mon, 18 Aug 2003 03:22:20 +0800
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="BIG5"
From: Dan Jacobson <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: /usr/bin/apt-get: enable non-root use of --download-only and --simulate
X-Mailer: reportbug 2.22
Date: Mon, 18 Aug 2003 03:22:20 +0800
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-5.0 required=4.0
tests=HAS_PACKAGE
version=2.53-bugs.debian.org_2003_8_17
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_17
(1.174.2.15-2003-03-30-exp)
Package: apt
Version: 0.5.9
Severity: wishlist
File: /usr/bin/apt-get
There seems no point of not allowing non root users to be able to use
--download-only or --simulate.
At most warn if it is found that root is also using it at the moment
if found so, and/or warn that we are in Read-only mode and root might
change things while we are running.
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Could it be that dpkg's --no-act is not given to dpkg upon --simulate, if
indeed proper?
Indeed with the proper PATH, a non-root user can successfully use dpkg:
PATH=/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin dpkg --no-act -P netbase
dpkg: dependency problems prevent removal of netbase:
lftp depends on netbase...
Remember to put --no-act as the first dpkg option...
In fact one would now have an extra layer of protection with
--simulate: as non-root one is doubly confident of not messing up the
system.
Indeed, perhaps do an audit to see if there's any more functions that
can be opened up to non-root users. At present many are already open,
but more could be.
---------------------------------------
Received: (at 205969-done) by bugs.debian.org; 20 Aug 2003 03:01:13 +0000
>From [EMAIL PROTECTED] Tue Aug 19 22:01:11 2003
Return-path: <[EMAIL PROTECTED]>
Received: from smtp01.mrf.mail.rcn.net [207.172.4.60]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 19pJDj-0000Fs-00; Tue, 19 Aug 2003 22:01:11 -0500
Received: from 216-15-124-77.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com
([216.15.124.77] helo=mizar.alcor.net)
by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.35 #4)
id 19pJDi-0002K8-00
for [EMAIL PROTECTED]; Tue, 19 Aug 2003 23:01:10 -0400
Received: from mdz by mizar.alcor.net with local (Exim 3.36 #1 (Debian))
id 19pJDi-0007Dz-00
for <[EMAIL PROTECTED]>; Tue, 19 Aug 2003 23:01:10 -0400
Date: Tue, 19 Aug 2003 23:01:10 -0400
From: Matt Zimmerman <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Duplicate
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Sender: Matt Zimmerman <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-3.0 required=4.0
tests=BAYES_01,USER_AGENT_MUTT
version=2.53-bugs.debian.org_2003_8_17
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_17
(1.174.2.15-2003-03-30-exp)
This was already reported as #49627: apt: Cannot -s as non-root.
--
- mdz