diff --git a/rakelib/builders.rb b/rakelib/builders.rb index 8e00117..8879fcb 100644 --- a/rakelib/builders.rb +++ b/rakelib/builders.rb @@ -45,6 +45,9 @@ class Copy < Builder end sh "find #{dest} -type d -exec chmod u=rwx,g=rx,o=rx {} +" sh "find #{dest} -type f -exec chmod u=rw,g=r,o=r {} +" + if _1 == "twenty-cli" + sh "find #{dest}/libexec -type f -exec chmod u=rwx,g=rx,o=rx {} +" + end end end end