今天发现普通用户oracle无法使用crontab,无权限编辑crontab内容,详细报错如下:
[oracle@strong rm_archive]$ vi delarchive.sh
[oracle@strong rm_archive]$ crontab -l
no crontab for oracle
[oracle@strong rm_archive]$ crontab -e
no crontab for oracle - using an empty one
crontab: installing new crontab
/var/spool/cron/#tmp.emrsvr.XXXXwAmmpz: Permission denied
crontab: edits left in /tmp/crontab.WditWO