Clarify usage of "force create mode".
authorJeremy Allison <jra@samba.org>
Thu, 28 Aug 2008 23:06:23 +0000 (16:06 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 28 Aug 2008 23:06:23 +0000 (16:06 -0700)
Jeremy.
(This used to be commit 1d252ffd313e0cd6fcb3d7cb2c99f2daf56728c1)

docs-xml/smbdotconf/security/forcecreatemode.xml
source3/client/client.c

index 8a6449fe21cee0cedf4df18852479964ad127b5d..a3f1c2c1055fb220ca4c60aff18cbe9367f87402 100644 (file)
@@ -2,17 +2,16 @@
                  context="S"
                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
 <description>
-    <para>This parameter specifies a set of UNIX mode bit 
-    permissions that will <emphasis>always</emphasis> be set on a 
-    file created by Samba. This is done by bitwise 'OR'ing these bits onto 
-    the mode bits of a file that is being created or having its 
-    permissions changed. The default for this parameter is (in octal) 
-    000. The modes in this parameter are bitwise 'OR'ed onto the file 
-    mode after the mask set in the <parameter moreinfo="none">create mask</parameter> 
+    <para>This parameter specifies a set of UNIX mode bit
+    permissions that will <emphasis>always</emphasis> be set on a
+    file created by Samba. This is done by bitwise 'OR'ing these bits onto
+    the mode bits of a file that is being created. The default for this parameter is (in octal)
+    000. The modes in this parameter are bitwise 'OR'ed onto the file
+    mode after the mask set in the <parameter moreinfo="none">create mask</parameter>
     parameter is applied.</para>
 
-       <para>The example below would force all created files to have read and execute 
-    permissions set for 'group' and 'other' as well as the 
+    <para>The example below would force all newly created files to have read and execute
+    permissions set for 'group' and 'other' as well as the
     read/write/execute bits set for the 'user'.</para>
 
 </description>
index 1c0dff92c158da97c205b77427d3aba12ed7a225..85f653e9034547bbc9929cc22afb7fe91bf2e247 100644 (file)
@@ -1080,7 +1080,7 @@ static int do_get(const char *rname, const char *lname_in, bool reget)
                get_total_time_ms += this_time;
                get_total_size += nread;
 
-               DEBUG(1,("(%3.1f kb/s) (average %3.1f kb/s)\n",
+               DEBUG(1,("(%3.1f KiloBytes/sec) (average %3.1f KiloBytes/sec)\n",
                         nread / (1.024*this_time + 1.0e-4),
                         get_total_size / (1.024*get_total_time_ms)));
        }