Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.37 KB

README.md

File metadata and controls

23 lines (20 loc) · 1.37 KB

transcrypt-for-noexec-fs

transcrypt-for-noexec-fs - patches for correct operation of transcrypt in file system where it is not possible to set the execution flag

Steps:

  1. Clone transcrypt:
$ git clone https://github.com/elasticdog/transcrypt
$ git reset --hard e08c3595e6ec57bc448e50401cb7ed845d866419
  1. 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
  1. 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

Optional: additional steps for git in noexec file system

  • 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