Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 306 by [email protected]: Extended attributes are lost in backupcopy=no mode
https://code.google.com/p/vim/issues/detail?id=306

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.



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui