Bug #12422
closed
Using two different remote users on the single host ends up with permissions issues at the second attemt
Added by Ivan Necas about 9 years ago.
Updated over 6 years ago.
Description
The problems is the first time the execution starts, /tmp/foreman-proxy-ssh directory is created, restrictring
it to just the first user, while the second user can't access the directory later.
The solution would be probably to store the data in `~/.foreman-proxy-ssh` on the client, instead of
the share `/tmp` directory
What about using /tmp/foreamn-proxy-<job uuid>? Couldn't you have two jobs running at the same time?
- Has duplicate Bug #12439: No proxy output when using non-root ssh user added
Also affects it if you want to run a command on the foreamn server.
/tmp/foreman-proxy/server is created by foreman-proxy user, so if you're not using root then you can't write to the /tmp/foreamn-proxy/client directory when executing a command on the foreman host itself.
- Status changed from New to Ready For Testing
- Assignee set to Stephen Benjamin
- Target version set to 92
- Pull request https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/14 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Target version changed from 92 to 87
- Translation missing: en.field_release set to 107
- Translation missing: en.field_release changed from 107 to 106
Also available in: Atom
PDF