LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   User rights..am i not the root? (https://www.linuxquestions.org/questions/linux-newbie-8/user-rights-am-i-not-the-root-588599/)

laucian 10-01-2007 07:30 AM

User rights..am i not the root?
 
Code:

falte:/etc/init.d # ls -l adsm
-rw-r--r-- 1 root root 522 Oct  1 14:25 adsm

falte:/etc/init.d # whoami
root

falte:/etc/init.d # ./adsm start
bash: ./adsm: Permission denied



what is the problem here?

pixellany 10-01-2007 07:41 AM

You have to turn on execute privileges. To do it for root only:
chmod -744 adsm

For everyone:
chmod -755 adsm

"man chmod" for more details on the syntax


All times are GMT -5. The time now is 03:36 AM.