Skip to content

config: git operations do not work using ~ in mounts.path #2916

@ghost

Description

Summary

All git operations (gopass git ...) give this error: chdir ~/.password-store: no such file or directory.
All other commands work.

Steps To Reproduce

The path in config file uses ~ in place of my home folder:

[mounts]
	path = ~/.password-store

Git operations work if I use the absolute location of the root store (/home/user/.password-store) for the path

Environment

  • OS: Ubuntu 24.04
  • gopass Version: 1.15.13
  • Installation method: apt repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions