Forum Discussion
firelizzard
3 years agoNew Contributor
Calling the CLI from a Go program
 I'm working on a Go program and I want to call  op , using the PolKit/app integration so a dialog appears prompting the user to type in their password. This works when I run  op  directly from my she...
Former Member
3 years ago@smgt Your findings echo mine, I also found that unless the directory tree from the binary to the root directory is all owned by root it will fail. If any of the parent, grandparent etc directories are not root owned it will fail. I did my testing in /opt, /media and /home (below user specific directories).