about summary refs log tree commit diff
path: root/pkgs/applications/misc/rtfm/patches/enable-write-permissions.patch
blob: efdabce083519c03cb88c15275965c00e050a66a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- a/src/doc2dash/doc_set_builder.cr	2023-07-19 14:00:06.864770147 +0300
+++ b/src/doc2dash/doc_set_builder.cr	2023-07-19 13:59:35.440707740 +0300
@@ -44,6 +44,7 @@
       real_dest = @html_dest.join(dest || source)
       Dir.mkdir_p(Path.new(real_dest).dirname)
       File.copy(original, real_dest)
+      File.chmod(real_dest, 0o600)
       dest || source
     end