Karp 的技术博客
操作系统
Crontab 指定执行用户

最近有个问题困扰我.
crontab 执行脚本生成文件都是root 用户.
web 写文件 apache 用户 造成apacheroot 同时写一份日志 apache 权限不足!!
解决方案 :