linux - Binary file Pemission denied -
i work asterisk 11.2.1 , try use command "asterisk" have following error
[root@ss sbin]# ls -l | grep asterisk -rw-r--r--. 1 root root 23642286 aug 13 08:37 asterisk -rw-r--r--. 1 root root 23642286 aug 13 08:37 rasterisk [root@ss sbin]# asterisk -bash: /usr/sbin/asterisk: permission denied [root@redsky sbin]#
why permission denied? can me?
note these binaries have no execution mode:
[root@ss sbin]# ls -l | grep asterisk -rw-r--r--. 1 root root 23642286 aug 13 08:37 asterisk -rw-r--r--. 1 root root 23642286 aug 13 08:37 rasterisk ^ missing "x"
chmod +x askterisk
should solve execution problem.
Comments
Post a Comment