reference/filesystem/functions/chown.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.chown">
3
+
<refentry xml:id="function.chown" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>chown</refname>
6
6
<refpurpose>Changes file owner</refpurpose>
...
...
@@ -11,7 +11,7 @@
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>chown</methodname>
13
13
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
14
-
<methodparam><type>mixed</type><parameter>user</parameter></methodparam>
14
+
<methodparam><type class="union"><type>string</type><type>int</type></type><parameter>user</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Attempts to change the owner of the file <parameter>filename</parameter>
...
...
@@ -97,7 +97,11 @@ Array
97
97
<refsect1 role="notes">
98
98
&reftitle.notes;
99
99
&note.no-remote;
100
-
&note.sm.uidcheck;
100
+
<note>
101
+
<simpara>
102
+
On Windows, this function fails silently when applied on a regular file.
103
+
</simpara>
104
+
</note>
101
105
</refsect1>
102
106

103
107
<refsect1 role="seealso">
...
...
@@ -111,7 +115,6 @@ Array
111
115
</refsect1>
112
116

113
117
</refentry>
114
-

115
118
<!-- Keep this comment at the end of the file
116
119
Local variables:
117
120
mode: sgml
118
121