16
[Solved] systemd: BindReadOnlyPaths alternative allowing user to read it
(programming.dev)
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
What do you meam by outside of service, but within systemd?
As in the solution should use systemd i.e no "just
sudo mount --bind -o ro /src /dstbro". Then when Isudo -u $serviceUser cat $mountPath, it should output the contents of the file instead of just nothing.Anti Commercial-AI license
Well just create another service with mounted paths and run shell script inside it or use
systemd run --property ...?