Your message dated Sat, 8 Oct 2005 11:55:26 +1000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#311356: perl: file test operator ignores POSIX ACL
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; 31 May 2005 12:54:59 +0000
>From [EMAIL PROTECTED] Tue May 31 05:54:59 2005
Return-path: <[EMAIL PROTECTED]>
Received: from nelson.cdata.hu [195.70.56.230] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Dd6Go-0004mF-00; Tue, 31 May 2005 05:54:58 -0700
Received: from localhost (localhost [127.0.0.1])
        by nelson.cdata.hu (Postfix) with ESMTP id 9C23918040;
        Tue, 31 May 2005 14:54:56 +0200 (CEST)
Received: from nelson.cdata.hu ([127.0.0.1])
        by localhost (nelson [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id 21670-05; Tue, 31 May 2005 14:54:45 +0200 (CEST)
Received: from zeronull.belso.cdata.hu (catv-50631e7f.catv.broadband.hu 
[80.99.30.127])
        by nelson.cdata.hu (Postfix) with ESMTP id C061517E9C;
        Tue, 31 May 2005 14:54:45 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Gabor Kiss <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: perl: file test operator ignores POSIX ACL
Reply-To: [EMAIL PROTECTED]
X-Mailer: reportbug 3.8
Date: Tue, 31 May 2005 14:54:47 +0200
Message-Id: <[EMAIL PROTECTED]>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at cdata.hu
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: perl
Version: 5.8.4-8
Severity: normal

File::Temp::tempdir reported access right error:
"Error in tempdir() using /tmp/cdbuffer/tmp/XXXXXXXXXX: Parent directory 
(/tmp/cdbuffer/tmp) is not writable"

However filesystem supports POSIX ACLs and appropriate permissions are set.

Demo scene:

User mapcd.mapcd created a sample script called 'fileoptest' in
directory /tmp/cdbuffer/tmp:

[EMAIL PROTECTED]:/tmp/cdbuffer/tmp$ ls -la
total 16
drwxrws---+ 2 root  program 23 May 31 13:58 .
drwxrws---+ 5 root  program 42 May 30 15:15 ..
-rw-rw----+ 1 mapcd program 68 May 31 13:58 fileoptest
[EMAIL PROTECTED]:/tmp/cdbuffer/tmp$ 

[EMAIL PROTECTED]:/tmp/cdbuffer/tmp$ id -a
uid=1005(mapcd) gid=1005(mapcd) groups=1005(mapcd)
[EMAIL PROTECTED]:/tmp/cdbuffer/tmp$ 

[EMAIL PROTECTED]:/tmp/cdbuffer/tmp$ getfacl .
# file: .
# owner: root
# group: program
user::rwx
group::rwx
group:mapcd:rwx
mask::rwx
other::---
default:user::rwx
default:group::rwx
default:group:mapcd:rwx
default:mask::rwx
default:other::---
[EMAIL PROTECTED]:/tmp/cdbuffer/tmp$ 

[EMAIL PROTECTED]:/tmp/cdbuffer/tmp$ cat fileoptest 
#!/usr/bin/perl
print -w(".") ? "writeable\n" : "not writeable\n";
[EMAIL PROTECTED]:/tmp/cdbuffer/tmp$ 

[EMAIL PROTECTED]:/tmp/cdbuffer/tmp$ perl fileoptest
not writeable
[EMAIL PROTECTED]:/tmp/cdbuffer/tmp$ cd /tmp
[EMAIL PROTECTED]:/tmp$ perl /tmp/cdbuffer/tmp/fileoptest 
writeable
[EMAIL PROTECTED]:/tmp$ 

Gabor

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (101, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages perl depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-18    Berkeley v4.2 Database Libraries [
ii  libgdbm3                    1.8.3-2      GNU dbm database routines (runtime
ii  perl-base                   5.8.4-8      The Pathologically Eclectic Rubbis
ii  perl-modules                5.8.4-8      Core Perl modules

-- no debconf information

---------------------------------------
Received: (at 311356-close) by bugs.debian.org; 8 Oct 2005 01:55:34 +0000
>From [EMAIL PROTECTED] Fri Oct 07 18:55:34 2005
Return-path: <[EMAIL PROTECTED]>
Received: from londo.c47.org [198.142.1.20] (mail)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EO3vy-0001rH-00; Fri, 07 Oct 2005 18:55:34 -0700
Received: from bod by londo.c47.org with local (Exim 3.36 #1 (Debian))
        id 1EO3vq-0002ln-00; Sat, 08 Oct 2005 11:55:26 +1000
Date: Sat, 8 Oct 2005 11:55:26 +1000
From: Brendan O'Dea <[EMAIL PROTECTED]>
To: Niko Tyni <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Cc: Gabor Kiss <[EMAIL PROTECTED]>
Subject: Re: Bug#311356: perl: file test operator ignores POSIX ACL
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Fri, Oct 07, 2005 at 02:51:26PM +0300, Niko Tyni wrote:
>this is documented behaviour, and the 'filetest' pragma is a solution
>for this. See 'perldoc -f -x' and 'perldoc filetest'.

Thanks Niko, closing.

--bod


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

Reply via email to