#Erik Sipsma3294 one fun hack with the
1 messages · Page 1 of 1 (latest)
True, I think w/ the socket doing dagger run sh -c 'echo "$DAGGER_SESSION_SOCKET" ; read' would be the equivalent right? Or am I misunderstanding.
And of course, even with the socket approach it's impossible for us to stop users from doing dagger run sh -c 'socat TCP4-LISTEN:12345,fork UNIX-CONNECT:$DAGGER_SESSION_SOCK' . But I'm happier with the default behavior being locked down and users needing to go out of their way and supply their own footguns.
Yeah supplying your own footgun is better, agreed 😉