fsetxattr() fails on a writable descriptor?

Christoph Hellwig hch at infradead.org
Tue Oct 13 18:58:05 CDT 2009


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.




More information about the xfs mailing list