diff options
| author | Russ Allbery <eagle@eyrie.org> | 2014-12-08 21:01:30 -0800 | 
|---|---|---|
| committer | Russ Allbery <eagle@eyrie.org> | 2014-12-08 21:01:30 -0800 | 
| commit | 050534cdd520a276d84dc4a66c81cc8b4faebcb5 (patch) | |
| tree | 0e74d929e351bd2e5d50787ecfab428d1c9c1561 /server/wallet-backend | |
| parent | 68010e4c1957d2bbfe55efdb4bd4b32541c8d344 (diff) | |
| parent | 7856dc7cc5e16140c0084474fe54338f293bf77e (diff) | |
Merge tag 'upstream/1.2' into debian
Upstream version 1.2
Diffstat (limited to 'server/wallet-backend')
| -rwxr-xr-x | server/wallet-backend | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/server/wallet-backend b/server/wallet-backend index a2e6e6f..8dfc952 100755 --- a/server/wallet-backend +++ b/server/wallet-backend @@ -287,6 +287,9 @@ sub command {                  failure ($server->error, @_);              }          } +    } elsif ($command eq 'rename') { +        check_args (3, 3, [], @args); +        $server->rename (@args) or failure ($server->error, @_);      } elsif ($command eq 'setacl') {          check_args (4, 4, [], @args);          $server->acl (@args) or failure ($server->error, @_); @@ -552,6 +555,12 @@ If <owner> is given, sets the owner of the object identified by <type> and  <name> to <owner>.  If <owner> is the empty string, clears the owner of  the object. +=item rename <type> <name> <new-name> + +Renames an existing object.  This currently only supports file objects, +where it renames the object itself, then the name and location of the +object in the file store. +  =item setacl <type> <name> <acl> <id>  Sets the ACL <acl>, which must be one of C<get>, C<store>, C<show>, | 
