Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-11071

Wrong usage of chmod in eZPackage

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.0, 3.8.10, 3.9.4
    • 3.8.8, 3.9.2
    • Misc
    • None

    Description

      In eZPackage::storeString:

      @chmod( $file, octdec( $filePermissions ) );

      where $file is a file handle opened with fopen()

      the docs on the chmod PHP function do not mention it can be used on file handles too, so I guess this is wrong, and $filename should be used instead

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: