You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bin/flutter says running as root is not recommended, yet disallows it #9634
However, despite saying this is not recommended the script simply terminates. We should either allow this, or change the terminology to say it's not supported.
changed the title [-]flubin/flutter says running as root is not recommended, yet disallows it[/-][+]bin/flutter says running as root is not recommended, yet disallows it[/+]on Apr 27, 2017
It doesn't disallow it, it just doesn't make it easy. This is intentional, it raises the bar so that you at least have to be comfortable enough editing code and figuring out how to recompile the tool before you can do it. If you can't figure that out, you almost certainly aren't going to understand the implications of running as root.
There's really no reason to run as root. It's a terrible thing to do.
I like the current terminology because it's not overly paternalistic (it's even a bit tongue-in-cheek), but it's still completely accurate (we really don't recommend it).
I'm open to changing the text but I think it's important that we strike this same tone while remaining as accurate.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
mit-mit commentedon Apr 27, 2017
This came up in context of #9547
[-]flubin/flutter says running as root is not recommended, yet disallows it[/-][+]bin/flutter says running as root is not recommended, yet disallows it[/+]Hixie commentedon Apr 27, 2017
It doesn't disallow it, it just doesn't make it easy. This is intentional, it raises the bar so that you at least have to be comfortable enough editing code and figuring out how to recompile the tool before you can do it. If you can't figure that out, you almost certainly aren't going to understand the implications of running as root.
There's really no reason to run as root. It's a terrible thing to do.
I like the current terminology because it's not overly paternalistic (it's even a bit tongue-in-cheek), but it's still completely accurate (we really don't recommend it).
I'm open to changing the text but I think it's important that we strike this same tone while remaining as accurate.
mit-mit commentedon May 18, 2017
#10129
64b9eef Revert "Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (…
64b9eef Revert "Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (…
64b9eef Revert "Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (…
64b9eef Revert "Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (…
64b9eef Revert "Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (…
64b9eef Revert "Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (…
64b9eef Revert "Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (…
64b9eef Revert "Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (…
64b9eef Revert "Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (…
Roll engine ffba2f6..7d3e722 (59 commits) (#35489)
Roll engine ffba2f6..7d3e722 (59 commits) (flutter#35489)
github-actions commentedon Sep 4, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.