Results 1 to 4 of 4
Hi iam very new to this linux based works.
Iam trying to install Arm cross tool chain . I enter the following commands as super user .
test06:/home/balijepalli/pandaboard/toolchain# . chmod ...
- 06-04-2011 #1Just Joined!
- Join Date
- Jun 2011
- Posts
- 15
/usr/sbin/.: Permission denied. in kubuntu host system
Hi iam very new to this linux based works.
Iam trying to install Arm cross tool chain . I enter the following commands as super user .
test06:/home/balijepalli/pandaboard/toolchain# . chmod 777 arm-2011.03-41-arm-none-linux-gnueabi.bin
/usr/sbin/.: Permission denied.
test06:/home/balijepalli/pandaboard/toolchain# . arm-2011.03-41-arm-none-linux-gnueabi.bin -i console
/usr/sbin/.: Permission denied.
any help to solve this problem will be appreciated.
Thanks
- 06-04-2011 #2
I think it's those initial dots that are causing the problem. Why have you put them there?
"I'm just a little old lady; don't try to dazzle me with jargon!"
- 06-04-2011 #3Just Joined!
- Join Date
- Jun 2011
- Posts
- 15
Its the part of command .
and if i did not followed . then it giving me as below.
test06:/home/balijepalli/pandaboard/toolchain# arm-2011.03-42-arm-none-eabi.bin -i console
arm-2011.03-42-arm-none-eabi.bin: Command not found
- 06-05-2011 #4
Right. This looks like the standard way of indicating that a command is in the current working directory by using the period as a shorthand. But because it's a shorthand for the name of the current directory, it needs to be integrated into the pathname just as that name would be. Remember, all components of a path must be separated by slashes, not spaces.
Your first command is chmod which is on the normal command path so you definitely don't need a period in front of that. What that command does, by the way, is to make the arm file executable so that you can subsequently use it as a command in its own right.
Then use the period as the first element in the path of the second command:
Don't put any spaces in the pathname. The period followed by a space was misinterpreted as a command in its own right and that's what caused the problem.Code:chmod 777 arm-2011.03-41-arm-none-linux-gnueabi.bin ./arm-2011.03-41-arm-none-linux-gnueabi.bin -i console
"I'm just a little old lady; don't try to dazzle me with jargon!"


Reply With Quote
