Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,244
    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!"
    www.hrussman.entadsl.com

  3. #3
    Just 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

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,244
    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:
    Code:
    chmod 777 arm-2011.03-41-arm-none-linux-gnueabi.bin
    ./arm-2011.03-41-arm-none-linux-gnueabi.bin -i console
    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.
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •