To reproduce the problem
0. Create a file:
$ echo "foo" > foo.txt
1. Put an extended attr in the file, and confirm the xattr is ok:
$ setfattr -n user.at1 -v v1 foo.txt
$ getfattr foo.txt
2. Edit the file with vim, save it
3. Check the xattr
$ getfattr foo.txt
You'll see the xattr is not there anymore. It should be preserved, the same way
other attributes of the file are preserved (like permissions).
Of course, setting backupcopy=yes will work, but this implies the overhead of
copying the file, which is not nice (that's why the backupcopy default is no
<wink>).
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by facundob...@gmail.com on 29 Dec 2014 at 11:59
Original issue reported on code.google.com by
facundob...@gmail.com
on 29 Dec 2014 at 11:59