Chris Li

Digital design, Lisper,Emacs.

18-07-04

CAP apache创建的文件权限设置,要改动apache启动umask,原理与shell umask一致,在apache2/envvar文件中 umask 002设置

flask写入中文报错,与写入文件时不能用unicode,要转为utf-8.输出要decode utf-8.