This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benjamin.peterson
Recipients Arfrever, benjamin.peterson, neologix, pitrou
Date 2011-08-28.16:40:42
SpamBayes Score 8.923088e-08
Marked as misclassified No
Message-id <CAPZV6o9rzEWScuR_-x592yR_QLehSY93k=_2_L6YwaV_ryCC5w@mail.gmail.com>
In-reply-to <1314549299.14.0.296390035707.issue12720@psf.upfronthosting.co.za>
Content
2011/8/28 Antoine Pitrou <report@bugs.python.org>:
>
> Antoine Pitrou <pitrou@free.fr> added the comment:
>
> Is it normal that listxattr() succeeds but getxattr() fails with ENOTSUPP?
>
>>>> os.listxattr("/")
> []
>>>> os.getxattr("/", "foo")
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> OSError: [Errno 95] Operation not supported

The reason you're getting ENOSUP is you have to use the proper prefix.
"user.*" for example.
History
Date User Action Args
2011-08-28 16:40:42benjamin.petersonsetrecipients: + benjamin.peterson, pitrou, Arfrever, neologix
2011-08-28 16:40:42benjamin.petersonlinkissue12720 messages
2011-08-28 16:40:42benjamin.petersoncreate