mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 9.0.1975: xattr: permission-denied errors on write
Problem: xattr: permission-denied errors on write Solution: ignore those errors closes: #13246 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Gene C <arch@sapience.com>
This commit is contained in:
committed by
Christian Brabandt
parent
12a0d999b1
commit
993b17569b
@@ -3154,8 +3154,9 @@ mch_copy_xattr(char_u *from_file, char_u *to_file)
|
||||
errmsg = e_xattr_e2big;
|
||||
goto error_exit;
|
||||
case ENOTSUP:
|
||||
errmsg = e_xattr_enotsup;
|
||||
goto error_exit;
|
||||
case EACCES:
|
||||
case EPERM:
|
||||
break;
|
||||
case ERANGE:
|
||||
errmsg = e_xattr_erange;
|
||||
goto error_exit;
|
||||
|
Reference in New Issue
Block a user