I have a script that expands chromium-ungoogled to the directory /tmp/browser
it calls /tmp/browser/squashfs-root/usr/lib64/chromium-ungoogled/chromium-ungoogled --no-sandbox --user-data-dir=/tmp/browser/config --disk-cache-dir=/tmp/browser/cache
and runs fine as root, albiet with the warning about no sandbox being insecure.
I want to run-as-spot, but the same command as above given as an arguement to run-as-spot, returns Trace/breakpoint trap
enclosing the arguement /tmp/browser/squashfs-root/usr/lib64/chromium-ungoogled/chromium-ungoogled --no-sandbox --user-data-dir=/tmp/browser/config --disk-cache-dir=/tmp/browser/cache
in single or double quotes returns...
Code: Select all
which: unrecognized option '--no-sandbox'
which: unrecognized option '--user-data-dir=/tmp/browser/config'
which: unrecognized option '--disk-cache-dir=/tmp/browser/cache'
bash: line 1: /tmp/browser/squashfs-root/usr/lib64/chromium-ungoogled/chromium-ungoogled --no-sandbox --user-data-dir=/tmp/browser/config --disk-cache-dir=/tmp/browser/cache: No such file or directory
how do I get run-as-spot to accept complex arguements?
perhaps there is a better way to call chromium-ungoogled?