juju version tries to make directories and files in my home

Bug #1438590 reported by Adam Collard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Medium
Unassigned
juju-core
Won't Fix
Medium
Unassigned

Bug Description

⟫ HOME=/dsadsa juju version
error: cannot load ssh client keys: mkdir /dsadsa: permission denied

When running the version subcommand it is unexpected that directories and files are made.

⟫ mkdir tmp/home
⟫ HOME=tmp/home juju version
1.23-beta2-utopic-amd64
⟫ tree -a tmp/home
tmp/home
└── .juju
    └── ssh
        ├── juju_id_rsa
        └── juju_id_rsa.pub

description: updated
Revision history for this message
Aaron Bentley (abentley) wrote :

This is not a regression; the issue has existed since at least juju 1.18.1

Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
Curtis Hovey (sinzui)
no longer affects: juju-core/1.23
Changed in juju-core:
status: Triaged → Won't Fix
Revision history for this message
Adam Collard (adam-collard) wrote :

This still happens in 2.0

⟫ HOME=/dasdadsa juju-2.0 version
error: cannot load ssh client keys: mkdir /dasdadsa: permission denied

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.0.1
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.