Re: sharedRepository derived from file permissions

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: sharedRepository derived from file permissions

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:55:03

Mark Hills [off-list ref] writes:
quoted
quoted
It looks like it might be easier (and less confusing to users) to derive 
this attribute from the top-level .git directory?
Hrm, clever ;-)
quoted
Is there a reason why Git doesn't just follow (and echo) the top-level 
permissions?
Other than "we did not trust that all the end users are capable of
doing the right 'chmod 2775 .git && chgrp project .git", with a
little bit of "we didn't think of that when we wrote the system", I
do not recall any.
Thanks. If I understand, you mean it might be worth a try to implement 
this.
Not really.

I still do not think that all the end users are capable of doing the
right 'chmod 2775 .git && chgrp project .git' themselves.

Re: sharedRepository derived from file permissions

From: Mark Hills <hidden>
Date: 2016-06-15 22:55:03

On Wed, 17 Oct 2012, Junio C Hamano wrote:
Mark Hills [off-list ref] writes:
quoted
quoted
quoted
It looks like it might be easier (and less confusing to users) to derive 
this attribute from the top-level .git directory?
Hrm, clever ;-)
quoted
Is there a reason why Git doesn't just follow (and echo) the top-level 
permissions?
Other than "we did not trust that all the end users are capable of
doing the right 'chmod 2775 .git && chgrp project .git", with a
little bit of "we didn't think of that when we wrote the system", I
do not recall any.
Thanks. If I understand, you mean it might be worth a try to implement 
this.
Not really.

I still do not think that all the end users are capable of doing the
right 'chmod 2775 .git && chgrp project .git' themselves.
But with the current method, users still have to do this _and_ set 
sharedRepository=.

It would make things hard or impossible if we assume that a user wanting 
to share a repository does not understand file modes or groups.

-- 
Mark
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help