Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-01-2007, 07:30 AM   #1
Registered: Oct 2005
Distribution: Ubuntu 9.04
Posts: 124
Blog Entries: 2

Rep: Reputation: 15
User i not the root?

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

falte:/etc/init.d # whoami

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

what is the problem here?
Old 10-01-2007, 07:41 AM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu, I can no longer become root or have root rights TroelsSmit Linux - Newbie 7 03-24-2007 07:17 PM
How to add user with admin rights or root previliges? tsarlz Fedora 1 10-24-2006 08:05 AM
Root/User rights to Root commands? mrde50garfield Linux - Software 2 10-24-2006 05:42 AM
Squid proxy with user authentication and user rights duvanhorn Linux - Networking 0 08-07-2003 03:40 AM
User rights like "ROOT" ishwar Linux - General 13 01-04-2003 09:11 PM

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration