From: Jeremy Allison Date: Thu, 28 Aug 2008 23:06:23 +0000 (-0700) Subject: Clarify usage of "force create mode". X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d252ffd313e0cd6fcb3d7cb2c99f2daf56728c1;p=thirdparty%2Fsamba.git Clarify usage of "force create mode". Jeremy. --- diff --git a/docs-xml/smbdotconf/security/forcecreatemode.xml b/docs-xml/smbdotconf/security/forcecreatemode.xml index 8a6449fe21c..a3f1c2c1055 100644 --- a/docs-xml/smbdotconf/security/forcecreatemode.xml +++ b/docs-xml/smbdotconf/security/forcecreatemode.xml @@ -2,17 +2,16 @@ context="S" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - This parameter specifies a set of UNIX mode bit - permissions that will always 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 create mask + This parameter specifies a set of UNIX mode bit + permissions that will always 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 create mask parameter is applied. - The example below would force all created files to have read and execute - permissions set for 'group' and 'other' as well as the + 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'. diff --git a/source/client/client.c b/source/client/client.c index 1c0dff92c15..85f653e9034 100644 --- a/source/client/client.c +++ b/source/client/client.c @@ -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))); }