[Bugs] [Bug 1238850] New: setxattr does not fail with incorrect prefix
bugzilla at redhat.com
bugzilla at redhat.com
Thu Jul 2 19:50:05 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1238850
Bug ID: 1238850
Summary: setxattr does not fail with incorrect prefix
Product: GlusterFS
Version: pre-release
Component: libgfapi-python
Severity: low
Assignee: bugs at gluster.org
Reporter: acampbel at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
When attempting to use setxattr without a proper prefix (user, system, trusted,
security), or no prefix, it does not return an error.
Steps to reproduce:
with improper prefix:
$ python
>> vol = gfapi.Volume(<some server>,<some volume>)
>> vol.mount()
>> vol.setxattr('/tmp/test', 'a.test', 'value')
OR
with no prefix:
$ python
>> vol = gfapi.Volume(<some server>,<some volume>)
>> vol.mount()
>> vol.setxattr('/tmp/test', 'test', 'value')
Expected results:
Should throw proper error.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list