Computing.Net > Forums > Linux > /usr/lib write access.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

/usr/lib write access.

Reply to Message Icon

Name: beachboy
Date: February 21, 2007 at 10:39:04 Pacific
OS: openSuse 10.2
CPU/Ram: 2.6 GHZ P4 / 229 MB RAM
Product: Acer
Comment:

Hello,

I just wanted to find out how I can copy a very important file into the /usr/lib directory without getting the message: You don't have the permission to change this directory. How do I get "root access" Sorry, I am a complete Linux newbie.

Thanks for any help.



Sponsored Link
Ads by Google

Response Number 1
Name: ernie
Date: February 21, 2007 at 13:17:29 Pacific
Reply:

Open a terminal window and su to root:

At the command prompt enter:

su.

Enter the root password when requested.

Copy example1,dat to the /usr/lib directory:

cp -t ./example1.dat /usr/lib

This example assumes the file to be copied
is located in the current directory (./).

This command copies (cp) with the last
argument as a directory (-t) the source file (example.dat) to the destination
(/usr/lib).

For more complete information on the cp
command:

man cp

or:

info cp

HTH,

Ernie Registered Linux User 247790
ICQ 41060744


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: /usr/lib write access.

NTFS with write access www.computing.net/answers/linux/ntfs-with-write-access/15726.html

Write access -mounted drives RedHat www.computing.net/answers/linux/write-access-mounted-drives-redhat/20783.html

Copy to /usr/lib error. www.computing.net/answers/linux/copy-to-usrlib-error/29342.html