Skip to content

Instantly share code, notes, and snippets.

@Gkiokan
Created January 27, 2017 12:03
Show Gist options
  • Save Gkiokan/bd9d045001d3621449e797f71fcf81ff to your computer and use it in GitHub Desktop.
Save Gkiokan/bd9d045001d3621449e797f71fcf81ff to your computer and use it in GitHub Desktop.
Operation not Permitted after in .git Objects
# Run this in the .git/objects folder to set the permissions
# even they are flagged as immutable
sudo chflags -R nouchg *
sudo own -R $USER *
echo " > Persmissions have been set ."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment