Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.

2nd user can't run flutter #4

Open
AlexMWork opened this issue May 23, 2019 · 2 comments
Open

2nd user can't run flutter #4

AlexMWork opened this issue May 23, 2019 · 2 comments

Comments

@AlexMWork
Copy link

I installed it via brew with no problems for 1st user.
If I try to run flutter for second user I get next message:

Oops; flutter has exited unexpectedly. Sending crash report to Google. Crash report sent (report ID: 106e3bdff89f9827) Crash report written to /private/var/folders/p6/qhzg0dhx00qc2w_nj9xby3cr0000gn/T/dart-code-cmd-run/flutter_02.log; please let us know at https://github.com/flutter/flutter/issues.

This is the log.

`Flutter crash report; please file at https://github.com/flutter/flutter/issues.

command

flutter doctor

exception

FileSystemException: FileSystemException: Cannot open file, path = '/usr/local/Cellar/flutter/stable/version' (OS Error: Permission denied, errno = 13)

#0      _File.open.<anonymous closure> (dart:io/file_impl.dart:364:9)
#1      _rootRunUnary (dart:async/zone.dart:1132:38)
#2      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#3      _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#4      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#5      Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#6      Future._completeWithValue (dart:async/future_impl.dart:483:5)
#7      Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7)
#8      _rootRun (dart:async/zone.dart:1124:13)
#9      _CustomZone.run (dart:async/zone.dart:1021:19)
#10     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#13     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:115:13)
#14     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:5)

flutter doctor

[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.5 18F132, locale en-RU)
    • Flutter version 1.5.4-hotfix.2 at /usr/local/Cellar/flutter/stable
    • Framework revision 7a4c33425d (3 weeks ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/alwork/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.34.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.0.2

[✓] Connected device (1 available)
    • Brick • 3cfd0c7c29f83f052492bb7d76b7272e167dd810 • ios • iOS 12.3

• No issues found!

`

@MiderWong
Copy link
Owner

Hasn't solvethe solvet problems so far?

@NIoSaT
Copy link

NIoSaT commented Sep 16, 2019

I would guess the original issue is fixed in the current version but now there is another problem.
When installing flutter with this formula the bin folder of the flutter install is world accesible.
This might fix the original issue but I think the permissions should be more restrictive.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants