Don't fail in acl_set_file on MS-Windows if the operation is a no-op.
authorEli Zaretskii <eliz@gnu.org>
Sun, 23 Dec 2012 17:16:33 +0000 (19:16 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 23 Dec 2012 17:16:33 +0000 (19:16 +0200)
commit40ff07a5a0ce6c3bdff8a86d4161bfd1ca25f651
treeac9feb49b75baacf6203290afa717243b7a6ec60
parent299614f3bcac13be9a17d038f247856e384d9dbd
Don't fail in acl_set_file on MS-Windows if the operation is a no-op.

 src/w32.c (acl_set_file): If setting the file security descriptor
 fails, and the new DACL is identical to the existing one, silently
 return success.  This fixes problems for users backing up their
 own files without having the necessary privileges for setting
 security descriptors.
src/ChangeLog
src/w32.c