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 ePub file permissions #173

Closed
wants to merge 2 commits into from

Conversation

soroushj
Copy link
Contributor

@soroushj soroushj commented Dec 12, 2018

By default, ZipFile writes files with a permission of 600 and directories with 775. This PR changes the file permissions to 644.

A 600 file permission may cause issues with some ePub reading systems. As far as I know, there is no standard for file permissions. But 775 for directories and 644/664 for files are common.

Related code:

@soroushj soroushj closed this Feb 5, 2023
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.

1 participant