Open alaajaddou opened 1 month ago
@alaajaddou does the user you are running the tool as, have permissions to write to the directory where your flutter project is?
@alaajaddou does the user you are running the tool as, have permissions to write to the directory where your flutter project is?
sorry for late response, yes I do. the file creation was by me, and permission I do have the read|write permissions.
Keeping open for team's tracking.
Technical: This probably should have been caught and resulted in a graceful tool exit by https://github.com/flutter/flutter/blob/af913a75b5d28b03f0bfe0ee44f9343ae26ae146/packages/flutter_tools/lib/src/base/error_handling_io.dart#L747.
However, I'm guessing that the underlying FileSystemEntity
here was not a ErrorHandlingFile
, when it should have been one.
Command
Steps to Reproduce
Logs
FileSystemException: Cannot delete file, OS Error: Permission denied, errno = 13
Flutter Application Metadata
Type: app Version: 1.0.0+1 Material: true Android X: false Module: false Plugin: false Android package: null iOS bundle identifier: null Creation channel: stable Creation framework version: ba393198430278b6595976de84fe170f553cc728
Plugins
flutter_native_splash-2.4.1 rive_common-0.4.9