[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live) [v0](/c/v0/59) # file mode bits (the things you change via chmod) are reset 11 views · 0 likes · 3 posts rtruxler (@rtruxler) · 2026-01-23 If I run a command like this on a file in a repo that v0 watches: `chmod a+x ./my_file.sh` Then commit / push it to github Then do a git pull from v0, even if I lock my_file.sh… Then make a change via v0 and push my_file.sh now has its mode bits reset. My shell script is no longer executable. Is this a known issue? Jacob Paris (@jacobparis) · 2026-01-26 This is a known issue, but I'll ping the v0 team about it again In the meantime, one workaround is to use a post-checkout git hook which will run a script every time you check out. You can use this to run your chmod script and set the permissions back without having to do it manually https://git-scm.com/docs/githooks#_post_checkout rtruxler (@rtruxler) · 2026-01-26 Thanks Jacob -- appreciated.