Reputation: 31
I am trying to install the servecm plugin (https://github.com/jdolitsky/helm-servecm) for helm (https://helm.sh/), and following the installation steps I execute:
helm plugin install https://github.com/jdolitsky/helm-servecm
and then:
helm servecm
When I ran the second command, I got a permission denied error so I decided to run it with sudo, but when I run:
sudo helm servecm
I get the following error:
$ sudo helm servecm
Error: unknown command "servecm" for "helm"
Run 'helm --help' for usage.
I've read in some other posts that I need to add the command to the sudo path, but in every case I've read is always for the first command, which is recognized, but I don't know how to do it for the servecm option.
If it is useful, the servecm.sh file is located at: ~/.local/share/helm/plugins/helm-servecm
Thanks in advance
Upvotes: 0
Views: 1290
Reputation: 28
the permission denied
error that you are talking about may mean that you user account cannot access ~/.local/share/helm/plugins/helm-servecm
so try changing its permissions
chmod +rw ~/.local/share/helm/plugins/helm-servecm
I hope this helps you
Upvotes: 0