git bashがwindows10ではchmodでパーミッション変更できない件についてまとめました。
Windows10でchmodでパーミッション変更できない
Windows10でgit bashのchmodコマンドでパーミッション変更を行っても効果がありませんでした。
原因は、chmodがWindowsのファイルシステム(NTFSやFAT)に対応していないことだそうです。
![](https://algorithm.joho.info/wp-content/uploads/cocoon-resources/blog-card-cache/dd5b2a99d2dd56909519a03477b48be1.png)
Updating file permissions with git-bash on Windows 7
How do I update file permissions with git-bash on Windows 7? I've tried the following without success: $ ls -al scripts/...
https://cheaparchitec.wordpress.com/2016/04/14/git-bashwindowsでchmodが効かない件/
そのため、Windows版のgit bashでは、パーミッションではなく「ファイルの中身」で実行権限を自動判別しているそうです。
![](https://algorithm.joho.info/wp-content/uploads/2023/08/404-160x90.jpg)
【git入門】Githubの使い方(Windows編)
git bashコマンドで、Githubを使う方法についてまとめました。
コメント