Benjamin Peterson <benja...@python.org> added the comment:

2011/8/28 Antoine Pitrou <rep...@bugs.python.org>:
>
> Antoine Pitrou <pit...@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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12720>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to