- Add lchgrp() and lchown().

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212281 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Dave Barr 2006-05-02 02:57:45 +00:00
parent 427967c856
commit 8b2c8751c0
2 changed files with 107 additions and 0 deletions

View file

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.lchgrp">
<refnamediv>
<refname>lchgrp</refname>
<refpurpose>Changes group ownership of symlink</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>lchgrp</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam><type>mixed</type><parameter>group</parameter></methodparam>
</methodsynopsis>
<para>
Attempts to change the group of the symlink <parameter>filename</parameter>
to <parameter>group</parameter> (specified by name or number). Only the
superuser may change the group of a symlink arbitrarily; other users may
change the group of a symlink to any group of which that user is a member.
</para>
<para>
&return.success;
</para>
&note.no-remote;
&note.sm.uidcheck;
<para>
See also <function>chgrp</function>,
<function>lchown</function>
<function>chown</function>&listendand;
<function>chmod</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View file

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.lchown">
<refnamediv>
<refname>lchown</refname>
<refpurpose>Changes user ownership of symlink</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>lchown</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam><type>mixed</type><parameter>user</parameter></methodparam>
</methodsynopsis>
<para>
Attempts to change the owner of the symlink <parameter>filename</parameter>
to user <parameter>user</parameter> (specified by name or number). Only
the superuser may change the owner of a symlink.
</para>
<para>
&return.success;
</para>
&note.no-remote;
&note.sm.uidcheck;
<para>
See also <function>chown</function>,
<function>lchgrp</function>,
<function>chgrp</function>&listendand;
<function>chmod</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->