Forum Discussion

zer0r00t's avatar
zer0r00t
Occasional Contributor
5 months ago

cli requires a writable dir even if only reading secret(s)

Hi,

I'm running 

op run -- cmd

in a systemd service as a non-root user to run a command but for whatever weird reason it needs permission to write to a directory explicitly specified or in the user's home directory. This is annoying because every time I spin up a service, I have to manually create a dir somewhere, then make sure perms of that dir is maintained as op likes it and is manually specified. Forces me to maintain a library of empty directories all owned by different users.

No RepliesBe the first to reply