Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix file permissions for the web platform (affects every Unix-like platform) #79866

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

adamscott
Copy link
Member

@adamscott adamscott commented Jul 25, 2023

Fixes #79594.

umask() is now called only once and will be applied to fchmod() automatically as it has been called just before.
umask() was removed, see bruvzg's comment.

With this PR, the web platform now imports correctly files.

If needed, a MRP is simply creating a new project from the project explorer: if the icon is correctly imported, the fix worked.

@adamscott
Copy link
Member Author

Added as label each Unix-like platform.

@adamscott adamscott added this to the 4.2 milestone Jul 25, 2023
@adamscott adamscott changed the title Fix file permissions for the web platform Fix file permissions for the web platform (affects every Unix-like platform) Jul 25, 2023
drivers/unix/file_access_unix.cpp Outdated Show resolved Hide resolved
@YuriSizov YuriSizov merged commit 7bb732c into godotengine:master Jul 25, 2023
13 checks passed
@YuriSizov
Copy link
Contributor

Thanks!

@YuriSizov YuriSizov removed the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Sep 21, 2023
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.1.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Godot Editor does not import files correctly in web editor.
4 participants