Skip to content

dart-sdk linux redistributable has incorrect permissions for some directories #47093

@asottile

Description

@asottile

I'm using docker to reproduce as otherwise umask takes effect while extracting:

root@dbe466e80cf1:/tmp/y# curl -o dart.zip https://storage.googleapis.com/dart-archive/channels/stable/release/2.13.4/sdk/dartsdk-linux-x64-release.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  181M  100  181M    0     0  64.2M      0  0:00:02  0:00:02 --:--:-- 64.2M
root@dbe466e80cf1:/tmp/y# unzip -q dart.zip
root@dbe466e80cf1:/tmp/y# ls -ald dart-sdk/
drwx------ 5 root root 4096 Jun 23 11:40 dart-sdk/

note in this case the mode of the extracted directory is 700 but I expect it to be 755

there are other directories in the archive which suffer from the same problem

I'm currently working around this by using chmod -R og+rX

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-infrastructureUse area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions