Linux命令
希望把所有权改成当前用户
Section titled “希望把所有权改成当前用户”sudo chown -R $(whoami) /path/to/dirchmod u=rwx /path/to/directoryCrontab
Section titled “Crontab”*/1 * * * * /home/moatkon/demo_bash.sh >> /home/moatkon/demo_bash.log 2>&1sudo chown -R $(whoami) /path/to/dirchmod u=rwx /path/to/directory*/1 * * * * /home/moatkon/demo_bash.sh >> /home/moatkon/demo_bash.log 2>&1