Skip to content

Patch to fix working transcrypt inside non exec file system

Notifications You must be signed in to change notification settings

ZhymabekRoman/transcrypt-for-noexec-fs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

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

About

Patch to fix working transcrypt inside non exec file system

Topics

Resources

Stars

Watchers

Forks