SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
feature request: readonly without arguments
Author Message
Post feature request: readonly without arguments 
Hi,

Currently --restrict-read-only requires path to be specified. I'm doing
backups over ssh and I'm forcing some command on server:

$ more .ssh/authorized_keys
no-port-forwarding,no-X11-forwarding,no-agent-forwarding,command="sudo /bin/nice
-n 20 /usr/bin/rdiff-backup --server" ...

I want to restrict it to be read-only but there is problem. I'm doing backup
of different directories like /home, /var/lib etc in separate commands.

Unfortunately --restrict-read-only / won't work if I'm doing backup of /etc -
it complains:

rdiff_backup.Security.Violation:
Warning Security Violation!
Request to handle path /etc
which doesn't appear to be within restrict path /.

Feature req is option to restrict read-only to all operations without need to
specify option or fix rdiff-backup to work with cases as this one.
--
Arkadiusz Mi¶kiewicz PLD/Linux Team
http://www.t17.ds.pwr.wroc.pl/~misiek/ http://ftp.pld-linux.org/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB