Giter VIP home page Giter VIP logo

Comments (6)

nipunn1313 avatar nipunn1313 commented on June 2, 2024 1

Yes! It was .gitconfig! Sorry mistyped when typing up the report!

from scalar.

mjcheetham avatar mjcheetham commented on June 2, 2024 1

This is probably GCM Core that's writing to your ~/.gitconfig, and not necessarily Scalar.

The scalar and scalar-azrepos Casks require installation as root because root is required to install the internal .pkg file.
These Casks depend on GCM Core (git-credential-manager-core), which is therefore also installed as root. GCM Core as a postinstall action calls git config --global ... ... which, being run as root, will change the ownership of the ~/.gitconfig file.

We need a way to have these post install actions not run as root OR change the GCM Core Cask to run gcm configure --system which will update the git config --system config file (/etc/gitconfig).

cc: @derrickstolee

from scalar.

derrickstolee avatar derrickstolee commented on June 2, 2024

What specifically do you mean, your .gitignore? Perhaps you instead mean your ~/.gitconfig file? That would certainly be unfortunate, so we should look into that.

from scalar.

nipunn1313 avatar nipunn1313 commented on June 2, 2024

One specific thing about my setup - is that my ~/.gitconfig is a symlink to another location (target) - specifically within my Dropbox folder.

During installation, the target location became owned by root.

I ended up noticing, because Dropbox yelled about not having ownership to .gitconfig

from scalar.

github-actions avatar github-actions commented on June 2, 2024

Labeling this issue as stale. There has been no activity for 30 days. Remove stale label or comment or this issue will be closed in 7 days.

from scalar.

derrickstolee avatar derrickstolee commented on June 2, 2024

Closing in favor of git-ecosystem/git-credential-manager#186.

from scalar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.