Closed jotaen4tinypilot closed 2 months ago
Related https://github.com/tiny-pilot/tinypilot/issues/131, part (b). Stacked on https://github.com/tiny-pilot/tinypilot/pull/1804.
I realized that we need to add another privileged script for reading files with marker sections, because we are unable to read those directly via the Python process in case those files are owned by the root user.
root
Usage is demonstrated in the subsequent backend PR; it’s basically …
/opt/tinypilot-privileged/scripts/print-marker-sections /path/to/file.txt
… where the entire invocation has to be unblocked in the sudoers file.
CircleCI seems to be having some erratic issues related to git connectivity… I try running them again later.
⏳ @jdeanwallace please review this Pull Request
Related https://github.com/tiny-pilot/tinypilot/issues/131, part (b). Stacked on https://github.com/tiny-pilot/tinypilot/pull/1804.
I realized that we need to add another privileged script for reading files with marker sections, because we are unable to read those directly via the Python process in case those files are owned by the
root
user.Usage is demonstrated in the subsequent backend PR; it’s basically …
… where the entire invocation has to be unblocked in the sudoers file.