diff options
author | Jeremy Allison <jra@samba.org> | 2008-08-28 16:06:23 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-08-28 16:06:23 -0700 |
commit | d4818c70eb1275e532df0e6882bb761335d2dba2 (patch) | |
tree | 08d2897a33fbaccf80fdfff055dfba6edb0f9f4c | |
parent | f294f51bf0d136208fee1be343684ea890a499d0 (diff) | |
download | samba-d4818c70eb1275e532df0e6882bb761335d2dba2.tar.gz samba-d4818c70eb1275e532df0e6882bb761335d2dba2.tar.bz2 samba-d4818c70eb1275e532df0e6882bb761335d2dba2.zip |
Clarify usage of "force create mode".
Jeremy.
(This used to be commit 1d252ffd313e0cd6fcb3d7cb2c99f2daf56728c1)
-rw-r--r-- | docs-xml/smbdotconf/security/forcecreatemode.xml | 17 | ||||
-rw-r--r-- | source3/client/client.c | 2 |
2 files changed, 9 insertions, 10 deletions
diff --git a/docs-xml/smbdotconf/security/forcecreatemode.xml b/docs-xml/smbdotconf/security/forcecreatemode.xml index 8a6449fe21..a3f1c2c105 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"> <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> diff --git a/source3/client/client.c b/source3/client/client.c index 1c0dff92c1..85f653e903 100644 --- a/source3/client/client.c +++ b/source3/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))); } |