0

I'm working on a Linux environment where i have to change some files permissions and ownership but everytime i do a git pull those permissions and ownerships are changed again. i tried git config --add core.filemode false but it doesn't seem to work in this context. Is there a way to prevent git pull from changing file permissions and ownership

AILY
  • 185
  • 2
  • 15

1 Answers1

1

The settings for the user account doing the pull will usually determine the permissions of the files written. It's either you, or whatever account the script is running under.

The explanation in another post explains some of it: Permissions Question, and see this: Question about File Permissions.

NSchorr
  • 663
  • 8
  • 12