Skip to content

hs pull might fail because of permission issue #21

@ylogx

Description

@ylogx

hs pull might fail because the initial ansible script was running as root user.

Screenshot of situation from 2020-04-29 19-20-27

What is happening?

Error:

$ hs pull
pull dotfiles
pull homeshick
error Unable to pull /home/chaudhary/.homesick/repos/homeshick. Git says:
error: cannot open .git/FETCH_HEAD: Permission denied

Screenshot of failure from 2020-04-29 19-25-56

Expected behavior

hs pull should work properly
Screenshot of success from 2020-04-29 19-26-28

Workaround

sudo chown -R ${USER}:${USER} ~/.homesick/repos/homeshick/.git/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions