Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 06-25-2008, 02:58 PM   #1
LQ Newbie
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
ln: creating symbolic link `' to `/usr/lib/': Permission deni


I recently dualled booted my computer with kubuntu so I am not that familiar with all the commands. I need to create a link in usr/X116R/lib to a folder called usr/lib/ so I tried the following:

:/usr/X11R6/lib$ ln -s /usr/lib/

But it returned the following:
ln: creating symbolic link `' to `/usr/lib/': Permission denied

Does anyone know how to resolve this problem?

Old 06-25-2008, 05:57 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,397

Rep: Reputation: 163Reputation: 163
You need admin privileges to write to that directory, i.e. you need to run:

$ sudo <command creating link>

and enter the password when prompted.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ldconfig /usr/local/lib/ is not a symbolic link gbowden Slackware 3 05-21-2006 09:15 PM
/sbin/ldconfig: /usr/lib/ is not a symbolic link rosariowong Slackware 13 04-29-2005 04:41 PM
IdConfig: /usr/lib/.... is not a symbolic link. _tomMmy_ Linux - Software 0 08-23-2004 08:12 AM
DRI and libGL, libGLU bgaiser Linux - Hardware 0 08-31-2003 01:30 AM SchwarzeFeen Linux - Software 12 03-05-2003 02:28 AM

All times are GMT -5. The time now is 09:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration