this post was submitted on 01 Feb 2025
16 points (100.0% liked)
Linux
9954 readers
175 users here now
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
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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 ...?