TheLocehiliosan / yadm

Yet Another Dotfiles Manager
https://yadm.io/
GNU General Public License v3.0
5.07k stars 176 forks source link

`yadm clone` was unable to clone the repo #371

Closed ewu63 closed 2 years ago

ewu63 commented 3 years ago

Describe the bug

Cannot clone repository on a shared system, when I try I get the following message:

yadm clone <URL>
Cloning into 'repo.git'...
fatal: Could not make <HOME>/.local/share/yadm/repo.git/branches/ writable by group
ERROR: Unable to clone the repository

I'm not really sure what's going on. I tried just cloning the repo with git (without yadm) which worked fine, even in that exact location. I also tried running yadm with --yadm-repo pointing to a different location, which returned the same error.

To reproduce

Can this be reproduced with the yadm/testbed docker image: [Yes/No] No

Steps to reproduce the behavior:

  1. Run yadm clone <URL>
  2. See error

Expected behavior

yadm should clone the repo and set up my environment.

Environment

TheLocehiliosan commented 2 years ago

I've not heard of this problem in the past. Can you explain what you mean by a "shared system"? Does the user/group of the user running yadm match the user/group permissions of the $HOME?

ewu63 commented 2 years ago

I am no longer using the system that caused this issue, closing.