We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
代码里写的是
check_and_make 'usr/uploads' '755'
第一次执行install.php时,会提示uploads无权限,改为766后,安装成功
The text was updated successfully, but these errors were encountered:
我目前使用的容器镜像是oyqi/typecho:nightly-php7.4-fpm-alpine。 另外,这个方法
oyqi/typecho:nightly-php7.4-fpm-alpine
check_and_make() { if [ ! -e /app/$1 ]; then mkdir -p /app/$1 chown -Rf www-data:www-data /app/$1 fi if [ -n "$2" ]; then chmod $2 /app/$1 fi }
改为这样是不是更好,毕竟容器里执行,我修改了一次,下次就不用再修改了
check_and_make() { if [ ! -e /app/$1 ]; then mkdir -p /app/$1 chown -Rf www-data:www-data /app/$1 if [ -n "$2" ]; then chmod $2 /app/$1 fi fi }
Sorry, something went wrong.
No branches or pull requests
代码里写的是
第一次执行install.php时,会提示uploads无权限,改为766后,安装成功
The text was updated successfully, but these errors were encountered: