Skip to content

[tool_crash] FileSystemException: Creation failed, OS Error: Permission denied, errno = 13 #173402

@cedricbansah

Description

@cedricbansah

Command

flutter pub get

Steps to Reproduce

  1. ...
  2. ...
  3. ...

Logs

FileSystemException: Creation failed, OS Error: Permission denied, errno = 13

#0      _checkForErrorResponse (dart:io/common.dart:58:9)
#1      _Directory.create.<anonymous closure> (dart:io/directory_impl.dart:131:9)
#2      _rootRunUnary (dart:async/zone.dart:1538:47)
#3      _CustomZone.runUnary (dart:async/zone.dart:1429:19)
<asynchronous suspension>
#4      _File.create.<anonymous closure> (dart:io/file_impl.dart:310:11)
<asynchronous suspension>
#5      _File.create.<anonymous closure> (dart:io/file_impl.dart:316:15)
<asynchronous suspension>
#6      ForwardingFile.create (package:file/src/forwarding/forwarding_file.dart:20:12)
<asynchronous suspension>
#7      ForwardingFile.create (package:file/src/forwarding/forwarding_file.dart:20:12)
<asynchronous suspension>
#8      IosProject._renderTemplateToFile (package:flutter_tools/src/xcode_project.dart:797:5)
<asynchronous suspension>
#9      IosProject._updateLLDBIfNeeded (package:flutter_tools/src/xcode_project.dart:780:7)
<asynchronous suspension>
#10     IosProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/xcode_project.dart:660:5)
<asynchronous suspension>
#11     FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:384:7)
<asynchronous suspension>
#12     PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:383:7)
<asynchronous suspension>
#13     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1563:27)
<asynchronous suspension>
�[32m[✓]�[39m Flutter (Channel stable, 3.32.4, on macOS 15.5 24F74 darwin-arm64, locale en-GH) [872ms]
    �[32m•�[39m Flutter version 3.32.4 on channel stable at /Users/cedricbansah/devtools/flutter
    �[32m•�[39m Upstream repository https://github.com/flutter/flutter.git
    �[32m•�[39m Framework revision 6fba2447e9 (8 weeks ago), 2025-06-12 19:03:56 -0700
    �[32m•�[39m Engine revision 8cd19e509d
    �[32m•�[39m Dart version 3.8.1
    �[32m•�[39m DevTools version 2.45.1

�[32m[✓]�[39m Android toolchain - develop for Android devices (Android SDK version 36.0.0) [26.7s]
    �[32m•�[39m Android SDK at /Users/cedricbansah/Library/Android/sdk
    �[32m•�[39m Platform android-36, build-tools 36.0.0
    �[32m•�[39m Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    �[32m•�[39m Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
    �[32m•�[39m All Android licenses accepted.

�[32m[✓]�[39m Xcode - develop for iOS and macOS (Xcode 16.4) [1,662ms]
    �[32m•�[39m Xcode at /Applications/Xcode.app/Contents/Developer
    �[32m•�[39m Build 16F6
    �[32m•�[39m CocoaPods version 1.16.2

�[32m[✓]�[39m Chrome - develop for the web [4ms]
    �[32m•�[39m Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

�[32m[✓]�[39m Android Studio (version 2025.1) [4ms]
    �[32m•�[39m Android Studio at /Applications/Android Studio.app/Contents
    �[32m•�[39m Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    �[32m•�[39m Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    �[32m•�[39m Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)

�[32m[✓]�[39m VS Code (version 1.102.3) [3ms]
    �[32m•�[39m VS Code at /Applications/Visual Studio Code.app/Contents
    �[32m•�[39m Flutter extension version 3.116.0

�[32m[✓]�[39m Connected device (3 available) [6.1s]
    �[32m•�[39m CNANA (mobile)  • 00008110-00063D6A1400A01E • ios            • iOS 18.2.1 22C161
    �[32m•�[39m macOS (desktop) • macos                     • darwin-arm64   • macOS 15.5 24F74 darwin-arm64
    �[32m•�[39m Chrome (web)    • chrome                    • web-javascript • Google Chrome 139.0.7258.66

�[32m[✓]�[39m Network resources [18.9s]
    �[32m•�[39m All expected network resources are available.

�[32m•�[39m No issues found!

Flutter Application Metadata

Type: malformed
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: null
Creation framework version: null

Plugins

cloud_firestore-5.6.9
device_info_plus-11.5.0
file_picker-10.1.9
file_saver-0.2.14
firebase_auth-5.6.0
firebase_core-3.14.0
firebase_crashlytics-4.3.7
firebase_performance-0.10.1+7
firebase_storage-12.4.7
flutter_native_splash-2.4.1
google_sign_in_ios-5.9.0
image_picker_ios-0.8.12+2
path_provider_foundation-2.4.0
pdfx-2.8.0
shared_preferences_foundation-2.5.4
sign_in_with_apple-7.0.1
sqflite-2.3.3+1
url_launcher_ios-6.3.3
video_player_avfoundation-2.7.1
flutter_plugin_android_lifecycle-2.0.28
google_sign_in_android-6.2.1
image_picker_android-0.8.12+23
path_provider_android-2.2.10
shared_preferences_android-2.4.10
url_launcher_android-6.3.16
video_player_android-2.8.7
file_selector_macos-0.9.4+3
image_picker_macos-0.2.1+2
url_launcher_macos-3.2.2
file_selector_linux-0.9.3+2
image_picker_linux-0.2.1+2
path_provider_linux-2.2.1
shared_preferences_linux-2.4.1
url_launcher_linux-3.2.1
file_selector_windows-0.9.3+4
image_picker_windows-0.2.1+1
path_provider_windows-2.3.0
shared_preferences_windows-2.4.1
url_launcher_windows-3.1.4
cloud_firestore_web-4.4.9
firebase_auth_web-5.15.0
firebase_core_web-2.23.0
firebase_performance_web-0.1.7+13
firebase_storage_web-3.10.14
google_sign_in_web-0.12.4+4
image_picker_for_web-3.0.6
shared_preferences_web-2.4.3
sign_in_with_apple_web-3.0.0
url_launcher_web-2.4.1
video_player_web-2.3.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: crashStack traces logged to the consoleteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions