fsetxattr() fails on a writable descriptor?
Michael Monnerie
michael.monnerie at is.it-management.at
Tue Oct 13 20:17:09 CDT 2009
On Mittwoch 14 Oktober 2009 Christoph Hellwig wrote:
> 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.
I didn't restrict to fix xattr behaviour, but "cp" should be fixed.
After all, the bug exists since 2002, so "cp" should also work around it
to get it's own parameters right.
mfg zmi
--
// Michael Monnerie, Ing.BSc ----- http://it-management.at
// Tel: 0660 / 415 65 31 .network.your.ideas.
// PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4
More information about the xfs
mailing list