dart-lang / dart-docker

Docker images for the Dart programming language (https://dart.dev)
BSD 3-Clause "New" or "Revised" License
70 stars 15 forks source link

Fix permissions for /usr/lib/dart. #82

Closed aebrahim closed 2 years ago

aebrahim commented 2 years ago

This directory is currently inaccessible to non-root users.

This is a smilar fix to #65 which fixed #62, except on the /usr/lib/dart directory instead of /usr/lib/dart/bin/ directory.

To reproduce the issue:

docker run --rm -it dart:stable
root@cafa244bc57c:~# ls -l /usr/lib | grep dart
drwx------ 5 root root 4096 Feb  8 03:23 dart
Chuxel commented 2 years ago

We saw this reported here as well https://github.com/microsoft/vscode-dev-containers/issues/1336

Repros on x86 too not just arm64.