Skip to content

Conversation

@Esemesek
Copy link
Member

Summary:

Some files inside Pods have only read permissions. Do not explicitly set permissions for saved file.

Test Plan:

Initialise new project with pods in the template.

cc @grabbou @krizzu @thymikee

Copy link
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is a complete solution. For example binary files are still written with source permission (e.g. 0o444 which throws with EACCESS).

How about we keep reading srcPermissions, write files with default mode (0o666) and then run fs.chmod(srcPermissions)?

@grabbou
Copy link
Member

grabbou commented Apr 28, 2019

FYI I just got another error while copying Pods folder - you can find my report on Discord.

@Esemesek Esemesek closed this Apr 30, 2019
@thymikee thymikee deleted the permissions branch May 17, 2019 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants