copy attributes on symlinks (only testable with -P, --no-dereference), fixed bug #3539
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30921 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2124,6 +2124,11 @@ copy_internal (char const *src_name, char const *dst_name,
|
||||
preserving owner/group is a potential security problem. */
|
||||
}
|
||||
}
|
||||
|
||||
if (x->ignore_attributes == 0
|
||||
&& copy_attributes_by_name(src_name, dst_name, false) != 0)
|
||||
fprintf(stderr, "%s: could not copy attributes\n", src_name);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user