How do you deal with file ownership in git?

前端 未结 4 535
抹茶落季
抹茶落季 2021-01-02 18:20

I\'m working on an embedded Linux project. Our build process makes an image that gets flashed to a device. Many of our files require root ownership for the system to work co

4条回答
  •  独厮守ぢ
    2021-01-02 18:43

    I'm not sure I understand why some files must be chowne'd root. Intuitively I'd guess your problem is the dependence on the owner, not that Git doesn't store ownership. What you can do is chown in you your build.

提交回复
热议问题