Created
July 8, 2022 11:20
-
-
Save apetenchea/955fcf630f688c7d453f4d4c1b5ce3fe to your computer and use it in GitHub Desktop.
CLion remote editing fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Fix file permissions after setting up remote development with CLion | |
# Run this in the root of your project folder | |
dir=$(pwd) | |
for f in $(rg -l "\#!") | |
do | |
echo "$f" | |
cd $(dirname "$f") | |
chmod +x $(basename "$f") | |
cd $dir | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment