Skip to content

chown and chmod in docker-entrypoint.sh can take a long time to complete, allow disabling the call #123

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

Closed
pmarzouk opened this issue Jun 27, 2018 · 2 comments
Labels
Request Request for image modification or feature

Comments

@pmarzouk
Copy link

The chmod and chown call in docker-entrypoint.sh can take a very long time to complete if the files directory is big.
We noticed the issue when preparing a new deployment with files hosted as an Azure File Share with dozens of GB of files.

An environment variable should be added to disable running the chown/chmod.

@erSitzt
Copy link

erSitzt commented Jul 4, 2022

Hey @yosifkit i know this issue is somewhat old, but how does #136 fix an issue with lots of files from an old redmine installation for example ?
It looks to me as if the find runs on every start ? shouldnt this be only necessary on the first run ?

Our install has files starting from 2014, most issues are generated from email and contain the .eml and all attachments separately ... which results in currently 996388 files

i think the option to skip the find/chown/chmod would be a good addition

@erSitzt
Copy link

erSitzt commented Jul 5, 2022

Creating a new issue, because its not the only issue with _fix_permissions i think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Request Request for image modification or feature
Projects
None yet
3 participants