I have to stash files which are in my LINUX WSL folder.
But when i try to run git stash
i recieve this error:
error: open("cloudformation/deployStacks.sh"): Permission denied
fatal: Unable to process path cloudformation/deployStacks.sh
Cannot save the current worktree state
I tried to run chmod u=rwx,g=r,o=r cloudformation
,
chmod u=rwx,g=r,o=r cloudformation/deployStacks.sh
chmod 777 cloudformation
But none of this worked. Maybe anyone knows how to solve this permission issue?