Operating System - HP-UX
1834516 Members
1986 Online
110068 Solutions
New Discussion

soft link error ln: /app/grainte/xng exists

 
SOLVED
Go to solution
Asif_8
Regular Advisor

soft link error ln: /app/grainte/xng exists

Hi !

I have /app/granite/products/granite/xng/v4_1_2
now I create new directory
/app/granite/products/granite/xng/v4.1.3.0
I want to create soft link
ln -s
/app/granite/products/granite/xng/v4.1.3.0 /app/granite/xng
i got error error ln: /app/grainte/xng exists

ll of /app/granite dir three is already a link
xng---products/granite/xng/v4_1_2

1 REPLY 1
John Poff
Honored Contributor
Solution

Re: soft link error ln: /app/grainte/xng exists

Hi,

It looks like you already have a symlink named xng in /app/granite which points to 4_1_2. You'll need to remove the existing xng symlink and then create it to get it to point to 4.1.3.0. Be careful that removing the old symlink doesn't break something that expects to find the 4_1_2 directory.

JP