Search code examples
intellij-ideafile-permissionschmod

Chmod from IntelliJ on Windows?


I'm using PyCharm on Windows. How can I set executable bit or modify other permissions like Linux chmod? I found this only and nothing suitable in plugins but still hope there's a better solution then switching to Linux console for that purpose.


Solution

  • I ran into the same issue, but I wasn't very eager to install yet another plugin. If you happen to use Git, you can do it from PyCharm's terminal using the following command:

    git update-index --chmod=+x path-to-your-file