I am using rsnapshot to store snapshots. I would like root to be able to write to it so rsnapshot can run. I can't change permissions because I want to preserve them so each user can still only access their own files. I would like to give users read only access to it so they can restore their files on their own.
What is the best way to implement this?
I currently have the rsnapshots repository going to a separate partition. There are other things on that partition (secondary backup repository, security files, etc)
I tried the following:
/storage is 770 owned by root:root
/storage/snapshots is 755 owned by root:root
I want the RO folder to be at /home/snapshots. /home and /storage are mount points for two separate partitions. My snapshots are stored in /storage/snapshots
mount --bind /storage/snapshots /home/snapshots
mount -o remount,ro /home/snapshots
when I view as a normal user, the folder is empty. when I view as root, I can see all the files