proper default Windows ACLs, e.g. relevant when the bundle is placed into the root directory of a volume;
authorwenzelm
Mon, 24 Oct 2016 20:52:27 +0200
changeset 64386 e936967c2a06
parent 64385 d072d327b9b2
child 64387 2a4672722aaa
proper default Windows ACLs, e.g. relevant when the bundle is placed into the root directory of a volume;
Admin/Windows/Cygwin/isabelle/postinstall
--- a/Admin/Windows/Cygwin/isabelle/postinstall	Mon Oct 24 20:13:01 2016 +0200
+++ b/Admin/Windows/Cygwin/isabelle/postinstall	Mon Oct 24 20:52:27 2016 +0200
@@ -7,6 +7,7 @@
 mkpasswd -l >/etc/passwd
 mkgroup -l >/etc/group
 
+find -type d -exec setfacl -m default:user::rwx,default:group::r-x,default:other:r-x '{}' +
 find -type d -exec chmod 755 '{}' +
 find -type f \( -name '*.exe' -o -name '*.dll' \) -exec chmod 755 '{}' +
 find -type f -not -name '*.exe' -not -name '*.dll' -not -name '*.scala' -not -name '*.ML' -not -name '*.thy' -exec chmod 644 '{}' +