summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2014-12-08 20:57:57 -0800
committerRuss Allbery <eagle@eyrie.org>2014-12-08 20:57:57 -0800
commit7856dc7cc5e16140c0084474fe54338f293bf77e (patch)
tree5948678fb9c0a30b7d72057c9952ac8836ae2499 /server
parentdd295a55a6f02e7585a9f5be9e8b434c6d14d040 (diff)
parente73a80c6bc23f16544c35e7dc3bf61ca9292c3b5 (diff)
Imported Upstream version 1.2upstream/1.2
Diffstat (limited to 'server')
-rw-r--r--server/keytab-backend.84
-rw-r--r--server/wallet-admin.84
-rwxr-xr-xserver/wallet-backend9
-rw-r--r--server/wallet-backend.89
-rw-r--r--server/wallet-report.84
5 files changed, 22 insertions, 8 deletions
diff --git a/server/keytab-backend.8 b/server/keytab-backend.8
index 8eb4c3d..b143e46 100644
--- a/server/keytab-backend.8
+++ b/server/keytab-backend.8
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
+.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "KEYTAB-BACKEND 8"
-.TH KEYTAB-BACKEND 8 "2014-07-16" "1.1" "wallet"
+.TH KEYTAB-BACKEND 8 "2014-12-08" "1.2" "wallet"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff --git a/server/wallet-admin.8 b/server/wallet-admin.8
index 64226f7..cc35d0e 100644
--- a/server/wallet-admin.8
+++ b/server/wallet-admin.8
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
+.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "WALLET-ADMIN 8"
-.TH WALLET-ADMIN 8 "2014-07-16" "1.1" "wallet"
+.TH WALLET-ADMIN 8 "2014-12-08" "1.2" "wallet"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
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>,
diff --git a/server/wallet-backend.8 b/server/wallet-backend.8
index b1c57d0..f1544ac 100644
--- a/server/wallet-backend.8
+++ b/server/wallet-backend.8
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
+.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "WALLET-BACKEND 8"
-.TH WALLET-BACKEND 8 "2014-07-16" "1.1" "wallet"
+.TH WALLET-BACKEND 8 "2014-12-08" "1.2" "wallet"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -320,6 +320,11 @@ result will be the name of an \s-1ACL.\s0
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.
+.IP "rename <type> <name> <new\-name>" 4
+.IX 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.
.IP "setacl <type> <name> <acl> <id>" 4
.IX Item "setacl <type> <name> <acl> <id>"
Sets the \s-1ACL\s0 <acl>, which must be one of \f(CW\*(C`get\*(C'\fR, \f(CW\*(C`store\*(C'\fR, \f(CW\*(C`show\*(C'\fR,
diff --git a/server/wallet-report.8 b/server/wallet-report.8
index f0ab9fd..ac3714f 100644
--- a/server/wallet-report.8
+++ b/server/wallet-report.8
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
+.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "WALLET-REPORT 8"
-.TH WALLET-REPORT 8 "2014-07-16" "1.1" "wallet"
+.TH WALLET-REPORT 8 "2014-12-08" "1.2" "wallet"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l