mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Mode can be changed only by owner (bug #33639)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194636 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
38f87ce232
commit
ee93b90a41
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.chmod">
|
||||
<refnamediv>
|
||||
|
@ -77,6 +77,7 @@ chmod("/somedir/somefile", 0750);
|
|||
The current user is the user under which PHP runs. It is
|
||||
probably not the same user you use for normal shell or FTP
|
||||
access.
|
||||
The mode can be changed only by user who owns the file on most systems.
|
||||
</para>
|
||||
</note>
|
||||
¬e.no-remote;
|
||||
|
@ -85,7 +86,7 @@ chmod("/somedir/somefile", 0750);
|
|||
When &safemode; is enabled, PHP
|
||||
checks whether the files or directories you are about to operate on have
|
||||
the same UID (owner) as the script that is being executed. In addition,
|
||||
you cannot set the SUID, SGID and sticky bits
|
||||
you cannot set the SUID, SGID and sticky bits.
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue