Skip to content

[Bug] cant find repos folder when running from a different username (with workaround) #566

@wadabum

Description

@wadabum

So... while the Debian deployment page is pretty clear about Create the borgwarehouse user,
I had the glorious idea to install this as "not the borgwarehouse user" - what surprisingly generally seems to work.

Only issue I have found is the shell helpers:

# Default value if .env not exists
: "${home:=/home/borgwarehouse}"

where a) ".env" is not documented anywhere (as this is not to be mistaken with ".env.local")
and b) I wonder if that should have been a ${HOME:= not ${home:=?

Notable: after creating myself a

### this is file /home/bwh/app/.env
home=/home/bwh

everything seems to function just fine with /home/bwh/repos being used

So it doesn´t seem like the username-restriction is intended or needed if it correctly resolves the user-home?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions