📜  无法创建目录 wp-content uploads .它的父目录是否可以被服务器写入? - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:22.648000             🧑  作者: Mango

代码示例1
# assume your volume directory
volumes:
   - ./api:/usr/src/app
   
# change it to 
volumes:
   - ./api:/usr/src/app:Z
    # :Z - will add permissions only to the current container label

# now add permission to you path
sudo chmod a+rwx -R /