rake update_hooks issue
Created by: kroleg
When i tried to update from 2.2 to 2.3 and run "rake update_hooks" i get "operation is not permitted" for every project. But all hooks was updated. Surprise :)
These errors happen because Project.write_hook tries to chmod hooks. But these files belongs to git:git and rake task runs from another user (gitlab). Gitlab user can change these files but can't chmod them.