|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70664 xattr_set() returns true on filesystem without xattr support
Submitted: 2015-10-07 22:59 UTC Modified: 2016-05-01 04:22 UTC
From: blr at blr dot hu Assigned:
Status: No Feedback Package: xattr (PECL)
PHP Version: Irrelevant OS: Ubuntu 14.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: blr at blr dot hu
New email:
PHP Version: OS:


 [2015-10-07 22:59 UTC] blr at blr dot hu
When use xattr_set() on a file system which doesn't supports xattr, it returns true.

Test script:
// /tmp has not set user_xattr
// returns empty string

Expected result:
xattr_set() should return false on filesystem without xattr support.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-04-21 14:28 UTC]
-Status: Open +Status: Feedback
 [2016-04-21 14:28 UTC]
I cannot reproduce with latest version

=> PHP Warning:  xattr_set Operation not supported in /tmp/foo.php on line 3

Please try with 1.3.0
 [2016-05-01 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Jun 19 01:01:23 2021 UTC