X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_15 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n9DNuajT161476 for ; Tue, 13 Oct 2009 18:56:36 -0500 X-ASG-Debug-ID: 1255478285-6571007e0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from bombadil.infradead.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 6879D178223E for ; Tue, 13 Oct 2009 16:58:05 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by cuda.sgi.com with ESMTP id aPHGL9VgWFGd6zOa for ; Tue, 13 Oct 2009 16:58:05 -0700 (PDT) X-ASG-Whitelist: Client Received: from hch by bombadil.infradead.org with local (Exim 4.69 #1 (Red Hat Linux)) id 1MxrFl-0003e9-7z; Tue, 13 Oct 2009 23:58:05 +0000 Date: Tue, 13 Oct 2009 19:58:05 -0400 From: Christoph Hellwig To: Michael Monnerie Cc: xfs@oss.sgi.com X-ASG-Orig-Subj: Re: fsetxattr() fails on a writable descriptor? Subject: Re: fsetxattr() fails on a writable descriptor? Message-ID: <20091013235805.GA18467@infradead.org> References: <1251987642.3855.36.camel@dhcp-lab-219.englab.brq.redhat.com> <20090908184049.GA22050@infradead.org> <4AA81CDB.8070509@draigBrady.com> <200909100014.10833@zmi.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200909100014.10833@zmi.at> User-Agent: Mutt/1.5.19 (2009-01-05) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html X-Barracuda-Connect: bombadil.infradead.org[18.85.46.34] X-Barracuda-Start-Time: 1255478286 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Thu, Sep 10, 2009 at 12:14:10AM +0200, Michael Monnerie wrote: > On Mittwoch 09 September 2009 P?draig Brady wrote: > > The specific issue we have is that `cp --preserve=xattr` gets an > > error when copying xattrs from a read only file. Since this has been > > an xattr issue since the start, we'll have to work around it. > > In that context I would call it a bug - shouldn't it be fixed? It seems pretty late for change behaviour that has been around since 2002. But if this was a new interface I would agree with you that the behaviour is illogical.