hab pkg export ..
masks insufficient write permission on the filesystem error
#7035
Labels
Team:Habitat
All issues tied to Chef habitat team
Type: Bug
Issues that describe broken functionality
With hab version
0.85.0
and perhaps earlier versions, thehab pkg export <..>
commands fail as expected when the user running the command does not have write permissions on the/hab
filesystem.However, the stated reason is a generic "not found" error message as opposed to the real insufficient permissions on the filesystem error.
When run with the
sudo
command, the pkg export succeeds as expected.We should bubble up the real error message to the user when that userid lacks filesystem write permission.
This does not appear to affect
hab pkg install ..
command. In the same scenario, it fails with the expected and correct error message:The text was updated successfully, but these errors were encountered: