Skip to content

Commit

Permalink
Change permissions of log file on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Aug 28, 2020
1 parent c747815 commit 1db7828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shared/Utilities/Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private static void CheckLogFileExists()
File.Create(LogPath).Close();
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
Process.Start("sudo", $"chmod 666 {LogPath}").WaitForExit();
Process.Start("sudo", $"chmod 777 {LogPath}").WaitForExit();
}
}
if (File.Exists(LogPath))
Expand Down

0 comments on commit 1db7828

Please sign in to comment.