Closed
Description
Steps to reproduce:
$filesystem->chmod($directory, 0755, true)
Expected result:
- Changes mode of all files in
$directory
to 0755, recursively -- but allowing continuation of script.
Actual result:
- Changes mode of all files in
$directory
to 0755, recursively -- but stops continuation of script.
OS: Linux crunchbang-server 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 GNU/Linux
PHP version: PHP 5.3.18 (cli) (built: Oct 24 2012 14:03:21)
Symfony version: Symfony version 2.1.4-DEV - app/dev/debug
Enabled extensions: Core, date, ereg, libxml, pcre, sqlite3, zlib, bcmath, calendar, ctype, dom, hash, fileinfo, filter, ftp, SPL, iconv, json, mbstring, pcntl, session, PDO, pdo_sqlite, apc, posix, Reflection, standard, SimpleXML, soap, sockets, SQLite, exif, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, Phar, pdo_mysql, mysqli
Note: $directory
is /home/derp/public_html
and the script is executing as root
via the CLI.
Metadata
Metadata
Assignees
Labels
No labels