Tue 14 Jul 2009 01:46:15 PM UTC, original submission:
Hi, I get this problem when the rdiff-backup (1.2.5) server has --restrict-read-only, and I run a --list-increments on it from a (1.2.8) client.
It bails out with this error:
Bad request for function: fs_abilities.single_set_globals
with arguments: [<rdiff_backup.rpath.RPath instance at 0x14b21b8>, 1]
' raised of class '<class 'rdiff_backup.Security.Violation'>':
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324, in Main
take_action(rps)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 286, in take_action
elif action == "list-increments": ListIncrements(rps[0])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 697, in ListIncrements
rp = require_root_set(rp, 1)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 719, in require_root_set
read_only)
File "/var/lib/python-support/python2.5/rdiff_backup/connection.py", line 450, in _call_
return apply(self.connection.reval, (self.name,) + args)
File "/var/lib/python-support/python2.5/rdiff_backup/connection.py", line 370, in reval
if isinstance(result, Exception): raise result
I have looked at the source, and found that if I added fs_abilities.single_set_globals to the read-only ACL, the --list-increments works. I'm not sure if this is the best way to be fixing things, so I'm filing this bug for you to have a look :)
regards,
wK
|