Find the answer to your Linux question:
Results 1 to 9 of 9
When I try and move files into the folder /usr/local/bin a message pops up saying access denied. I am completely new to linux so bear with me. BTW I'm trying ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    4

    Accessing /usr/local/bin and other similar folders


    When I try and move files into the folder /usr/local/bin a message pops up saying access denied.
    I am completely new to linux so bear with me.
    BTW I'm trying to install xpdf and the install instructions say to move certain files into the above folder, that's why I'm asking.
    Thanks

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    You need to be doing this as root.

  3. #3
    Just Joined!
    Join Date
    Jan 2005
    Posts
    4
    once again i am completely new to this
    How do i go about doing this under root?

  4. #4
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    instead of logging in as a regular user, log in as "root".

  5. #5
    Just Joined!
    Join Date
    Jan 2005
    Posts
    4
    I am using Suse 9.2
    When i log off then login as username: root the only thing that opens up is Yast and i cannot access my home folder to drag the files i want to in to /usr/local/bin
    Any other suggestions?

  6. #6
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Log in normaly, then you into a terminal such as konsole.

    In the example i am copying the file /home/dylunio/wiki.sxw to /usr/bin/

    In konsole type:
    Code:
    su
    root password when prompted
    cp /home/dylunio/wiki.sxw /usr/bin/
    this will let you copy the files;

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  7. #7
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    or
    Code:
    sudo -u root cp /home/dylunio/wiki.sxw /usr/bin/
    enter root's password and it will be done!
    Linux For Ever!

  8. #8
    Linux User zba78's Avatar
    Join Date
    Feb 2004
    Location
    Birmingham, England
    Posts
    335
    If you want to work with files simply open konsole and type
    Code:
    kdesu konqueror ~
    It will then ask for the root password. Type it in nad off you go.
    Ubuntu Jaunty :: Arch Linux (current) :: Acer Aspire 1692WMLi

  9. #9
    Just Joined!
    Join Date
    Jan 2005
    Posts
    4
    THANK YOU!!!

Posting Permissions

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