I am a storage administrator, and due to various issues in the past we are trying to take the ability to edit file permissions away from users. Our shares are SMB running NTFS perms, and we hand out Modify permissions to users as they desire. We want to avoid handing out the Full permissions that would let permissions be changed.
However this is running face first into our developers running git clone, which appears to be trying to run chmod on a .lock file.
Based on this KB we have tried adding the arguments --config core.filemode=false to the git clone command with no change in behavior.
I know why this is happening, and if I handout full rights this will work. My question is "Is there a set of arguments we can pass with git clone that would prevent it from trying to alter the permissions on the lock or other component files"
Thanks! (If it matters the end user is running git on a mac)