transcrypt-for-noexec-fs
- patches for correct operation of transcrypt in file system where it is not possible to set the execution flag
- Clone
transcrypt
:
$ git clone https://github.com/elasticdog/transcrypt
$ git reset --hard e08c3595e6ec57bc448e50401cb7ed845d866419
- Download and apply patch:
$ wget https://github.com/ZhymabekRoman/transcrypt-for-noexec-fs/blob/main/transcrypt_for_noexec_fs.patch?raw=True -O transcrypt_for_noexec_fs.patch
$ git am < transcrypt_for_noexec_fs.patch
$ rm transcrypt_for_noexec_fs.patch
- Execute additional steps for
git
(optional)
Important issue: manually run the transcrypt pre_commit
command before each commiting! Because pre-commit hooks won't execute in noexec fs
git config --global core.fileMode false
- if false, the executable bit differences between the index and the working copy are ignored; useful on broken filesystems like FAT.git config --global --add safe.directory '*'
- by default, Git will refuse to even parse a Git config of a repository owned by someone else, let alone run its hooks, and this config setting allows users to specify exceptions, e.g. for intentionally shared repositories. Some file systems do not support ownership parameters