Index: trunk/Nebulous/nebclient/src/nebclient.h
===================================================================
--- trunk/Nebulous/nebclient/src/nebclient.h	(revision 23935)
+++ trunk/Nebulous/nebclient/src/nebclient.h	(revision 24289)
@@ -11,4 +11,6 @@
 #ifndef NEBCLIENT_H
 #define NEBCLIENT_H 1
+
+// #include <sys/stat.h>
 
 #ifdef __cplusplus
@@ -296,4 +298,18 @@
 );
 
+/** Change permissions of a storage objects
+ *
+ * This function will change the file permissions of all currently on disk
+ * instances of a storage object.
+ *
+ * @return the new mode or NULL on failure.
+ */
+
+int nebChmod(
+    nebServer *server,                  ///< nebServer object
+    const char *key,                    /// storage object key (name)
+    mode_t mode                         /// chmod(2) compatible mode (mode_t)
+);
+
 /** Returns the error message from the last nebclient function that failed.
  *
