[Cialug] git issue - changing username on central repo

Pixie pix at kepibu.org
Thu Jan 19 16:52:05 CST 2017


On 2017.01.19 09:01, L. V. Lammert wrote:
> On Thu, 19 Jan 2017, Pixie wrote:
>
>> Alas, beyond that all I can suggest is what you have undoubtedly already
>> done: double-checking that you're creating the directory on the server
>> as the _svn user, `git init --bare`ing it on the server as the _svn
>> user, and that you've spelled the directory name the same both on the
>> server and when adding it as a new remote to the client (you've got both
>> "dbtcp" and "dbctp" in your original post, and I don't know if those are
>> supposed to be different or not).
>>
> So, you suggesting that somehow git saves the ID of the user that created
> the repo? Never would have thought about that, .. did a quick grep -r <old
> user> in dbtcp, and none found?

No, no.  Just pointing out that if you init the repo on the server as, 
say, lvlam, and then have people trying to read/write to that repo as 
_svn, you're liable to run into permission issues because the 
owner/group on the files won't match the unix user trying to do things.

It was an "abundance of caution, check all the obvious stuff" sort of thing.

-pix



More information about the Cialug mailing list