Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9362

EPERM "operation not permitted" error when CLI is installed as root

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-lib
    • None

    Description

      On non-windows platforms, "cordova create" always attempts to chmod the platform's create script, even when it's already marked as executable.

      When cordova-lib is installed via "sudo install -g cordova", the chmod command fails due to the file being read-only.

      Attachments

        Issue Links

          Activity

            People

              agrieve Andrew Grieve
              agrieve Andrew Grieve
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: