Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

bash completions of minion names do not work for non-root users #737

Open
dvandok opened this issue May 13, 2020 · 0 comments
Open

bash completions of minion names do not work for non-root users #737

dvandok opened this issue May 13, 2020 · 0 comments

Comments

@dvandok
Copy link

dvandok commented May 13, 2020

Trying to run salt as a non-root user works well as long as the user is listed in the publisher_acl in the master.conf. But the standard bash-completions shipped with salt 2019.2.4 on CentOS7 rely on the output of salt-key -l acc but this requires privileged access to /srv/salt/pki/master.

$ salt-key -l acc
Error: [Errno 13] Permission denied: '/etc/salt/pki/master/minions'

https://github.com/saltstack/salt-pack/blob/c334a309644d5428b20df06dd2e15784dfa768f3/file_roots/pkg/salt/2019_2_4/rhel7/sources/salt.bash#L30

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant