16
[Solved] systemd: BindReadOnlyPaths alternative allowing user to read it
(programming.dev)
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 /dst
bro". Then when I sudo -u $serviceUser cat $mountPath
, it should output the contents of the file instead of just nothing.
Well just create another service with mounted paths and run shell script inside it or use systemd run --property ...
?
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