2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-26 16:48:29 +00:00
restic/changelog
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
..
2018-04-30 21:41:30 +02:00
2018-06-10 11:29:57 +02:00
2018-03-24 17:31:21 +01:00
2018-03-24 17:31:21 +01:00