Tomcat 修改上传文件默认权限 - linux

编辑tomcat根目录/bin/catalina.sh文件,找到

# Set UMASK unless it has been overridden
if [ -z "$UMASK" ]; then
    UMASK="0027"
fi
umask $UMASK

将0027改成0022,重启

posted @ 2020-04-20 16:54  雷神约  阅读(1010)  评论(0编辑  收藏  举报