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

Permissions of newly created files #402

Open
guillaumebrunerie opened this issue Feb 8, 2023 · 0 comments
Open

Permissions of newly created files #402

guillaumebrunerie opened this issue Feb 8, 2023 · 0 comments

Comments

@guillaumebrunerie
Copy link

I couldn’t find any information on what permissions newly created files should have (note, I'm talking about Unix-like permissions, like rw-r--r--, not browser permissions).

On my computer (running Mac OS Catalina), it looks like creating new files gives them permission rw------- instead of the expected rw-r--r--. Is that intended? It is a bit problematic for my use case as I am creating files that are meant to be read back by a local web server, and the web server fails reading such files (it is presumably running as its own user). Writing over existing files does keep the existing rw-r--r-- permission, it’s only creating new files that is problematic.

Not sure if it is a spec or a browser issue, but I think the spec should at least say something about that.

You can easily reproduce it with the Text Editor example: https://googlechromelabs.github.io/text-editor/

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

No branches or pull requests

1 participant