author | desharna |
Fri, 20 Oct 2023 12:26:56 +0200 | |
changeset 78822 | 09b5113e5c9d |
parent 76273 | 4c7e8d01f6b9 |
permissions | -rwxr-xr-x |
50977
983794d3b84f
more generous C stack size as in Linux and Mac OS X, to reduce chance of Cygwin-specific crashes;
wenzelm
parents:
50807
diff
changeset
|
1 |
#!/bin/bash |
50807 | 2 |
|
52672 | 3 |
export PATH=/bin |
50807 | 4 |
|
5 |
bash /etc/postinstall/base-files-mketc.sh.done |
|
6 |
||
76273 | 7 |
mkpasswd -l -u "$USERNAME" -p "$(cygpath -u "$HOMEDRIVE$HOMEPATH\\..")" >/etc/passwd |
50978 | 8 |
|
64386
e936967c2a06
proper default Windows ACLs, e.g. relevant when the bundle is placed into the root directory of a volume;
wenzelm
parents:
61737
diff
changeset
|
9 |
find -type d -exec setfacl -m default:user::rwx,default:group::r-x,default:other:r-x '{}' + |
52672 | 10 |
find -type d -exec chmod 755 '{}' + |
11 |
find -type f \( -name '*.exe' -o -name '*.dll' \) -exec chmod 755 '{}' + |
|
61737
b91b1ebfc8a0
bundle main sources read-only, to avoid accidental editing of imported theories etc.;
wenzelm
parents:
52672
diff
changeset
|
12 |
find -type f -not -name '*.exe' -not -name '*.dll' -not -name '*.scala' -not -name '*.ML' -not -name '*.thy' -exec chmod 644 '{}' + |
b91b1ebfc8a0
bundle main sources read-only, to avoid accidental editing of imported theories etc.;
wenzelm
parents:
52672
diff
changeset
|
13 |
find -type f \( -name '*.scala' -o -name '*.ML' -o -name '*.thy' \) -exec chmod 444 '{}' + |
52672 | 14 |
xargs -0 < contrib/cygwin/isabelle/executables chmod 755 |