Replies: 4 comments 4 replies
|
A bit of grounding on why the group-permissions idea is blocked, then a few questions to figure out if there's a general need here. Why the socket is owner-only (and group-sharing won't work)The kaval socket isn't a read-only feed — it serves the full pty-host surface: That's enforced at the moment kaval serves. The gate ( st.isDirectory() && st.uid === getuid() && (st.mode & 0o077) === 0
The intended remote path
The path that needs zero new code: SSH in as the Questions, to see if there's a general need
We keep a high bar for adding feature surface, so I'd like to land on whether this is a docs/setup answer or a genuinely general gap before proposing anything. |
That is the problem. My deployment doesn't assume that the kaval owner is among ssh users. I think I will just change that and ssh into the machine with that user. I think it would be a good idea to document that assumption explicitly somewhere, if this isn't the case already. |
|
Glad SSHing in as the kaval user sorts it on your end — that's the design's intended path. And good call on documenting the assumption: done in #1623. It now says, in three places, that
Thanks for the report and the back-and-forth — it turned into a real doc gap worth closing. Closing this out. |
Uh oh!
There was an error while loading. Please reload this page.
When using
pulam-tui --host nixops@kolu-server, the remote pulam runs as the SSH user (nixops, UID 1000). If kaval runs as a different user (kolu, UID 998) with its socket directory at0700, the remote pulam gets `EACCES` trying to connect:This happens because:
Use case: kolu-server runs kaval as a dedicated service user (kolu). Developers SSH in as nixops. `--host` mode should work without requiring SSH as the kaval owner.
Proposed solutions:
Environment:
All reactions