We would like to have a network backup system with a user that can read any file on our servers but not write any file. Is there any way to do this under Linux (and specifically Fedora)? We would rather not have a remote root
that can erase any file...
If you export your filesystem via NFS and the
ro
andno_root_squash
option, it can't be modified on the remote system.Short answer: no
Long answer: in theory, you could set an ACL over your whole filesystem that would allow user X to read everything. But that's pretty tedious. From what I can tell, must backup software runs as root for precisely this reason.