[cs631apue] git config for group permissions

Jan Schaumann jschauma at stevens.edu
Mon Nov 13 11:06:20 EST 2017


Hi,

Some of you have noticed that you may run into git permissions issues as
some of the files git uses may be created without group write access on
the server.

To fix this going forward, please run the following command in the top
of your checked-out git repository:

git config core.sharedRepository group

After this, your future commits should get the right permissions from
the get go.

(If you have not yet encountered this problem, then you probably have
not yet committed code from multiple users, which is a bad sign.  You
really want to make sure that *all of you* commit regularly and
frequently.  As I mentioned, your git commit history will be reviewed
and contribute to your final grade.)

-Jan


More information about the cs631apue mailing list