Doc #71075 [NEW]: Update rename() docs to mention Windows-specific permissions issues

From: Date: Wed, 09 Dec 2015 19:46:10 +0000
Subject: Doc #71075 [NEW]: Update rename() docs to mention Windows-specific permissions issues
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12924@lists.php.net to get a copy of this message
From: info at mikekeran dot com Operating system: Windows PHP version: 5.5.30 Package: Documentation problem Bug Type: Documentation Problem Bug description:Update rename() docs to mention Windows-specific permissions issues Description: ------------ --- From manual page: http://www.php.net/function.rename --- "Attempts to rename oldname to newname, moving it between directories if necessary. If newname exists, it will be overwritten." If newname is read-only, Windows will return an access denied error while Linux will overwrite the file, as expected. I suggest adding the following to the above description: "On Windows, newname must be writable to be overwritten. On Linux, the containing directory must be writable, regardless of the permissions on newname." If that is too wordy or detailed, I suggest just adding the first sentence. See also: https://bugs.php.net/bug.php?id=71035 Thanks. -- Edit bug report at https://bugs.php.net/bug.php?id=71075&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71075&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71075&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71075&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=71075&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=71075&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=71075&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=71075&r=needscript Try newer version: https://bugs.php.net/fix.php?id=71075&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=71075&r=support Expected behavior: https://bugs.php.net/fix.php?id=71075&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=71075&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=71075&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=71075&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71075&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=71075&r=dst IIS Stability: https://bugs.php.net/fix.php?id=71075&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=71075&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=71075&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=71075&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=71075&r=mysqlcfg

« previous php.doc.bugs (#12924) next »