[dev] Fwd: framework/VFS/file.php

Chuck Hagenbuch chuck at horde.org
Tue Oct 21 05:35:15 PDT 2003



----- Forwarded message from mike at mrhost.ca -----
    Date: Mon, 20 Oct 2003 21:42:13 -0700
    From: Mike <mike at mrhost.ca>
Reply-To: Mike <mike at mrhost.ca>
 Subject: framework/VFS/file.php
      To: chuck at horde.org

Chuck, not sure if there is a better place to send this but,

Just a quick note- something I came across.

The VFS_file::changePermissions() function doesn't work as
expected. You need to convert the octal value to a decimal
before it's passed to chmod().

so

if (!@chmod($this->_getNativePath($path, $name), octdec($permission))) {

later-

Mike



----- End forwarded message -----


-chuck

--
Charles Hagenbuch, <chuck at horde.org>
Born right the first time.


More information about the dev mailing list