The Samba-Bugzilla – Attachment 4417 Details for
Bug 6038
failed: No such file or directory (2)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to ignore "delete of stat xattr" failures on symlinks
rsync-link-stat-xattr.patch (text/plain), 633 bytes, created by
William Throwe
on 2009-07-14 22:00:28 UTC
(
hide
)
Description:
Patch to ignore "delete of stat xattr" failures on symlinks
Filename:
MIME Type:
Creator:
William Throwe
Created:
2009-07-14 22:00:28 UTC
Size:
633 bytes
patch
obsolete
>diff -Naur rsync-HEAD-20090605-2003GMT/xattrs.c rsync-HEAD-20090605-2003GMT-patch/xattrs.c >--- rsync-HEAD-20090605-2003GMT/xattrs.c 2009-04-26 14:43:32.000000000 +0000 >+++ rsync-HEAD-20090605-2003GMT-patch/xattrs.c 2009-07-08 03:50:58.000000000 +0000 >@@ -1008,6 +1008,8 @@ > && fst.st_uid == F_OWNER(file) && fst.st_gid == F_GROUP(file)) { > /* xst.st_mode will be 0 if there's no current stat xattr */ > if (xst.st_mode && sys_lremovexattr(fname, XSTAT_ATTR) < 0) { >+ if (errno == EPERM && S_ISLNK(fst.st_mode)) >+ return 0; > rsyserr(FERROR_XFER, errno, > "delete of stat xattr failed for %s", > full_fname(fname));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6038
:
4417