reopen 292174
thanks
On 2005-01-26 Ola Lundqvist <[EMAIL PROTECTED]> wrote:
> On Tue, Jan 25, 2005 at 04:21:33PM +0100, Andreas Metzler wrote:
> > Package: debarchiver
> > Version: 0.1.4
> > Severity: important
> > 
> > 
> > On a fresh installation:
> > --------------------
> > ls -l /var/lib/debarchiver/incoming/
> > total 20
> > drwxr-sr-x  2 debarchiver debarchiver 4096 2005-01-25 16:08 REJECT
> > drwxr-xr-x  2 root        debarchiver 4096 2005-01-10 21:59 stable
[...] 
> > If I now (as root) take a file and move it to one of the
> > subdirectories, I'll get this strange error message:
> > 
> > | Error: Removing sarge/pilot_4.61-1_i386.deb after it has been installed.
> > |
> > | Warning: Move sarge/pilot_4.61-1_i386.deb to REJECT dir.
> > 
> > Which seems to be debarchiver's way of saying "The default permissions
> > are less than optimal, because of lacking write permissions of group
> > debarchiver to incoming/* debarchiver is never able to clean up.

> I do not really understand what you do here. I can see that only
> root have access to those directories.

> ... I'll check on a fresh install here.

> labradorit:/var/lib/debarchiver# ls -la incoming/
> total 0
> drwxrwsr-x  5 root debarchiver 48 Jan 26 10:29 .
> drwxr-xr-x  4 root root        33 Jan 26 10:29 ..
> drwxr-xr-x  2 root debarchiver  6 Jan 10 21:59 stable
[...]
> It is now fixed.
[...]

It is not.
[EMAIL PROTECTED]:~$ dpkg --contents debarchiver_0.1.5_all.deb | grep 
/var/lib/debarchiver/incomin
drwxr-xr-x root/root         0 2005-01-26 02:37:54 
./var/lib/debarchiver/incoming/
drwxr-xr-x root/root         0 2005-01-26 02:37:54 
./var/lib/debarchiver/incoming/stable/
drwxr-xr-x root/root         0 2005-01-26 02:37:54 
./var/lib/debarchiver/incoming/testing/
drwxr-xr-x root/root         0 2005-01-26 02:37:54 
./var/lib/debarchiver/incoming/unstable/

Whether the directory is 755 root:root or 755 root:debarchiver does
not change anything, everybody can still rx to it but the cronjob
running as debarchiver:debarchiver still has no permissions to remove
files.
                  cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
                                           http://downhill.aus.cc/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to