From 0a523d29567f91083485f5837965c10e22100bf2 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Wed, 2 Dec 2015 12:50:00 +0000 Subject: Exclude "." from the rsync so the pwd doesn't get its permissions changed.. Otheriwse you end up with your current directory owned by byteback:byteback (or whoever owns the byteback_root). --- bin/byteback-receive | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/byteback-receive b/bin/byteback-receive index 0b6a5c5..e5be576 100755 --- a/bin/byteback-receive +++ b/bin/byteback-receive @@ -55,6 +55,9 @@ if (ARGV[0] == 'byteback-restore') end end + # Always exclude the current directory, because it can change the + # ownership at the restorers end. + args << "--exclude=." restore = Byteback::Restore.new(byteback_root) -- cgit v1.2.1