Skip to content

Commit

Permalink
Fixed permissions issue
Browse files Browse the repository at this point in the history
  • Loading branch information
peroxy committed May 7, 2020
1 parent 75ea1d8 commit 6239871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RsyncBackup/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private static void Main(string[] args)

foreach (var folder in configuration.DeltaCopyFolderAliases)
{
string commandText = $"rsync -avz --progress {localIp}::{folder.Alias} '{folder.HostPath}'";
string commandText = $"rsync -avz --chmod=a=rwX --progress {localIp}::{folder.Alias} '{folder.HostPath}'";
Colorful.Console.WriteLine($"Starting rsync for local DeltaCopy virtual directory with alias {folder.Alias} and host path {folder.HostPath}.", Color.Orange);
Colorful.Console.WriteLine(commandText, Color.Orange);
Console.WriteLine("-----------------------------------------------------------------------------------------------");
Expand Down

0 comments on commit 6239871

Please sign in to comment.