-
Notifications
You must be signed in to change notification settings - Fork 264
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
/mysql_init.sh: Permission denied #140
Comments
Hi, @julienberton!
Good catch! Lines 45 to 58 in fc1dd34
It should be: # Add image configuration and scripts
ADD supporting_files/start-apache2.sh /start-apache2.sh
ADD supporting_files/start-mysqld.sh /start-mysqld.sh
ADD supporting_files/run.sh /run.sh
+ # Add MySQL utils
+ ADD supporting_files/mysql_init.sh /mysql_init.sh
RUN chmod 755 /*.sh
...
- # Add MySQL utils
- ADD supporting_files/mysql_init.sh /mysql_init.sh
I don't know why this script worked fine in previous releases... I didn't encounter this issue. Here we have the warning:
Is this related to #139 ? |
Hello,
As I was trying to use the 2004-php8 version, MySQL init script is failing with a permission denied error (logs below).
After investigating, it seems that the script is missing run permissions, a command like : chmod +x /mysql_init.sh seems to fix it in the shell of the container.
The text was updated successfully, but these errors were encountered: