-
Couldn't load subscription status.
- Fork 37
Description
Describe the bug
While testing out the container way of running packj locally on my macbook with podman I ran into this issue:
The docs say: docker run -v /tmp:/tmp/packj -it ossillate/packj:latest --help, it's also the "recommended way" currently.
When trying to audit:
podman run -v /tmp:/tmp/packj:w -it ossillate/packj:latest audit -f npm:./package.json
we get - Failed to create temp dir: [Errno 13] Permission denied: '/tmp/packj/packj_audit_dctc3110'!
Possible fixes:
-
find out how to give the container permission to write to /tmp dir, the current User is Ubuntu, maybe we just need to give them write perms.
-
Allow users to specify the path they want to use for writing out the audits too, in this code its currently hardcoded:
Line 882 in 03900ab
container_mountpoint = '/tmp/packj'
it would be nice if users were able to also select where to write the audits too?