rdiff-backup-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Rdiff-backup-bugs] [bug #27025] --list-increments doesn't work when --r


From: Woon Wai Keen
Subject: [Rdiff-backup-bugs] [bug #27025] --list-increments doesn't work when --restrict-read-only is set on server
Date: Tue, 14 Jul 2009 13:46:19 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11) Gecko/2009061208 Iceweasel/3.0.6 (Debian-3.0.6-1)

URL:
  <http://savannah.nongnu.org/bugs/?27025>

                 Summary: --list-increments doesn't work when
--restrict-read-only is set on server
                 Project: rdiff-backup
            Submitted by: doubleukay
            Submitted on: Tue 14 Jul 2009 01:46:15 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?27025>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]