       return showErrorNotification err  if err
 
       { readable, writable } = result
-      if not readable
+      if notifyIfNoPermissions and not readable
         IDEHelpers.showFileAccessDeniedError()
         return callback()
 

      ace.editor.scrollToRow 0
      editorPane.goToLine 1

      if isReadOnly
        editorPane.makeReadOnly()
        IDEHelpers.showFileReadOnlyNotification()

      callback editorPane


    # we use emitChange to detect this case for now
    notifyIfNoPermissions = emitChange

    if file.isDummyFile()
      return @createEditorAfterFileCheck file, content, callback, emitChange, no

    file.fetchPermissions (err, result) =>
