Results 1 to 7 of 7

Thread: How do I change the write permission on /usr/local/bin

  1. #1
    Join Date
    Mar 2008
    Beans
    22

    Question How do I change the write permission on /usr/local/bin

    I am trying to install a program. When I install it I get a message that I have no write permission on /usr/local/bin. I have tried to change the write permission and it tells me that I do not own the folder. Can anyone point me in the write direction?


    Don

  2. #2
    Join Date
    Feb 2007
    Location
    Sweden
    Beans
    1,142
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: How do I change the write permission on /usr/local/bin

    If you are installing the program from a terminal, write sudo in front of the install command

  3. #3
    Join Date
    Mar 2008
    Beans
    22

    Re: How do I change the write permission on /usr/local/bin

    I was not in terminal, but I tried it in terminal and I get command not found

    Quote Originally Posted by olskar View Post
    If you are installing the program from a terminal, write sudo in front of the install command

  4. #4
    Join Date
    Aug 2006
    Location
    New Zealand
    Beans
    140
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I change the write permission on /usr/local/bin

    Perhaps you should tell us what program you are trying to install and how you're trying to install it. The more information you give, the easier it is for somebody to suggest a sensible solution to the problem.

  5. #5
    Join Date
    Mar 2008
    Beans
    22

    Re: How do I change the write permission on /usr/local/bin

    I am trying to install American Army. I down loaded the program into a file on my desktop. Then I clicked the button armyops250-linux.run. It starts the install process and asks if I want to install into /usr/local/bin. I clicked yes and I get the message that I do not have write permission on that file.

  6. #6
    Join Date
    Nov 2004
    Beans
    173

    Re: How do I change the write permission on /usr/local/bin

    the command for changing the right is:
    chmod as root
    by example changing recursively with write read rights on (it's an example replace by your own)/usr/locale/i_love_you_sometime/
    it gives
    chmod -R 777 /usr/....
    -R is fot the recursive all the file and folders inside will get the right you will give
    777 are the read/write right for any one!
    a bit dangerous anyway look for the rights on google (from 000 to 777)
    I personaly use /opt for this purpose to avoid any trouble in /usr
    but fot you install just do it as root it will be sufficient
    good luck
    Last edited by ykpaiha; April 25th, 2008 at 11:52 PM.

  7. #7
    Join Date
    Jan 2008
    Beans
    19

    Re: How do I change the write permission on /usr/local/bin

    Quote Originally Posted by piromedic View Post
    I am trying to install American Army. I down loaded the program into a file on my desktop. Then I clicked the button armyops250-linux.run. It starts the install process and asks if I want to install into /usr/local/bin. I clicked yes and I get the message that I do not have write permission on that file.
    in terminal, go to the folder you have the file then type:
    Code:
    sudo ./armyops250-linux.run
    Then just type your password.

Bookmarks

Posting Permissions

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