restic/changelog/unreleased
Jakob Unterwurzacher e42d2d1da8 restore: suppress lchown errors when not running as root
Like "cp -a" and "rsync -a" do, only report lchown errors if we run
as root.

Like cp from GNU coreutils does, we check Geteuid() to determine if
we are running as root
( http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/copy.c#n3012 ).

On Windows, lchown errors are always reported.

Fixes https://github.com/restic/restic/issues/1766
2018-09-09 15:39:10 +02:00
..
1941 Minor fixes/tweaks; add docs 2018-08-10 22:10:02 -06:00
issue-1766 restore: suppress lchown errors when not running as root 2018-09-09 15:39:10 +02:00
issue-1909 Add entry to changelog 2018-08-12 17:51:12 +02:00
issue-1935 Add entry to changelog 2018-08-11 22:54:22 +02:00
issue-1978 Add entry to CHANGELOG 2018-09-08 18:53:12 +02:00
pull-1780 Improve changelog entry (pull-1780) 2018-08-27 15:58:39 +02:00
pull-1876 Add entry to changelog 2018-08-20 22:00:23 +02:00
pull-1920 Add entry to changelog 2018-08-31 21:10:26 +02:00
pull-1949 Add entry to changelog 2018-08-12 23:56:01 +02:00
pull-1953 Improve changelog entry 2018-08-18 15:14:52 +02:00