     Deletes a file or directory
     ###
     remove: (successCallback, errorCallback) ->
-      errorCallback?()
+      errorCallback?({code: FileError.NO_MODIFICATION_ALLOWED_ERR})
       undefined
 
     ###*

    Move an entry to a different location on the file system (not supported)
    ###
    moveTo: (parent, newName, successCallback, errorCallback) ->
      errorCallback?()
      undefined

    ###*

    Get last modification date of the entry
    ###
    getMetadata: (successCallback, errorCallback) ->
      @_fs._getCommitInfo((result) =>
        return errorCallback?({code: FileError.NOT_READABLE_ERR}) unless result
        successCallback(new Date(@_fs._commit.committer.date))
      )
      undefined

    ###*
