by mshal · 13y ago · 0 comments
Is the "Line too long" error an error message from tup, or from the shell when it tries to fork a process? If it's the latter I'm not sure there is an easy fix. If it's the former maybe I was just lazy when implementing something :)
You can run sub-processes in a chroot by specifying a flag (search the man page for 'run inside a chroot'). This will prevent the fuse paths from leaking to sub-processes, but unfortunately it requires the tup executable to be suid root. (If it didn't need suid, this would be the default).
It still requires root for installation, but you can basically solve the security problem.
IIRC, the "line too long" was from tup.
I think the abstraction may have leaked after specifying the flag and using the setuid tup. But I may be wrong here.