| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.089 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.4.089 |
| Problem: When editing a file in a directory mounted through sshfs Vim |
| doesn't set the security context on a renamed file. |
| Solution: Add mch_copy_sec() to vim_rename(). (Peter Backes) |
| Files: src/fileio.c |
| |
| |
| |
| |
| |
| *** 6707,6712 **** |
| --- 6707,6715 ---- |
| mch_set_acl(to, acl); |
| mch_free_acl(acl); |
| #endif |
| + #ifdef HAVE_SELINUX |
| + mch_copy_sec(from, to) |
| + #endif |
| if (errmsg != NULL) |
| { |
| EMSG2(errmsg, to); |
| |
| |
| |
| *** 740,741 **** |
| --- 740,743 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 89, |
| /**/ |
| |
| -- |
| Kiss me twice. I'm schizophrenic. |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ an exciting new programming language -- http://www.Zimbu.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |