On Mon, Nov 26, 2018 at 5:37 AM Steven Trogdon <steven.trog...@gmail.com> wrote:
>
> On my Gentoo changing the ownership was not sufficient. After changing the 
> ownership I had to
>
> git reset --hard HEAD
>
> which revealed that
>
> Updating f894105d0d..b36eca1990
> error: The following untracked working tree files would be overwritten by 
> merge:
>
> To correct this:
>
> git clean -f build/pkgs/barvinok/
> git clean -f build/pkgs/isl/
> git clean -f build/pkgs/lcalc/patches/
> git clean -f build/pkgs/polylib/
>
> and now 'git pull' is up to date. This is all very strange.

At some point you probably did *something* as root (and by "you" it
might not have even been an action you personally took, but maybe some
cron job you forgot about; who knows).  But otherwise I don't think
there's any way that would have happened.  This happens to me too
sometimes ¯\_(ツ)_/¯  Git repos don't store anything about uid/gid of
files (that would be disastrous); in fact IIRC the only information it
stores about file permissions is whether or not the executable bit
should be set.


> On Sunday, November 25, 2018 at 9:41:58 PM UTC-6, Samuel Lelievre wrote:
>>
>> > As far as I can recall 'git pull' was always done as a normal user.
>> > Note the timestamp on the folders, which predates 8.5.beta4.
>> > And this issue did not manifest itself then. But going forward,
>> > how to correct things?
>>
>> Change to your SAGE_ROOT directory and run this as a normal user
>>
>>     $ sudo chown -v -R $(id -u):$(id -g) .
>>
>> to set the owner and group of SAGE_ROOT (and recursively all
>> the included files and directories) to your user and your group.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-release+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-release@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-release.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to