My shell script runs from the command line, but fails in cronjob.
/bin/sh: asper.sh: Permission denied
-rw-r--r-- asper.sh
I guess the permission should look like '-rwxr-xr--'
How can I change the permission to be like that?
|
My shell script runs from the command line, but fails in cronjob.
I guess the permission should look like '-rwxr-xr--' How can I change the permission to be like that? |
||||
chmod +x asper.sh. Also, this is not really a Stack Overflow question. Maybe superuser? Server fault? – asveikau May 12 '11 at 4:27