Public bug reported:

On at least ext4, I can't seem to set xattr properties on a symlink.
I've tried both the python bindings (after fixing
https://bugs.launchpad.net/ubuntu/+source/python-xattr/+bug/919874) and
using the setfattr command from the `attr` package.

Illustrated with the setfattr command:

$ ls -l /tmp/{source,target}
lrwxrwxrwx 1 tim tim 11 2012-01-22 13:15 /tmp/source -> /tmp/target
-rwxrwxrwx 1 tim tim  0 2012-01-22 13:15 /tmp/target
$ setfattr -n user.test_foo -v 1 -h /tmp/target
# (success)
$ setfattr -n user.test_foo -v 1 -h /tmp/source
setfattr: /tmp/source: Operation not permitted

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/919896

Title:
  can't set xattr on a symlink (operation not permitted) [ext4]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/919896/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to