Fixes incorrect read/write permissions on Flutter.framework and FlutterMacOS.framework (#148580)

Fixes https://github.com/flutter/flutter/issues/148354

Fixes https://github.com/flutter/flutter/issues/147142
Closes https://github.com/flutter/flutter/pull/147144

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
This commit is contained in:
LouiseHsu
2024-05-20 14:41:52 -07:00
committed by GitHub
parent b2e5ab2e57
commit 185f526ddf
6 changed files with 25 additions and 3 deletions

View File

@@ -314,6 +314,7 @@ abstract class UnpackIOS extends Target {
'--delete',
'--filter',
'- .DS_Store/',
'--chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r',
basePath,
environment.outputDir.path,
]);

View File

@@ -60,6 +60,7 @@ abstract class UnpackMacOS extends Target {
'--delete',
'--filter',
'- .DS_Store/',
'--chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r',
basePath,
environment.outputDir.path,
]);