diff --git a/Tranga/Connector.cs b/Tranga/Connector.cs index 3c1bda3..42ba377 100644 --- a/Tranga/Connector.cs +++ b/Tranga/Connector.cs @@ -84,6 +84,8 @@ public abstract class Connector string newFilePath = Path.Join(publicationFolder, $"cover.{Path.GetFileName(fileInCache).Split('.')[^1]}" ); logger?.WriteLine(this.GetType().ToString(), $"Cloning cover {fileInCache} -> {newFilePath}"); File.Copy(fileInCache, newFilePath, true); + if(RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) + File.SetUnixFileMode(newFilePath, GroupRead | GroupWrite | OtherRead | OtherWrite | UserRead | UserWrite); } ///