Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cannot create link operation not permitted [closed]

Tags:

linux

I am getting error "link cannot create link operation not permitted" while creating link in ubuntu using below command

link code-1.2.1 code

I am using ubuntu 12.10 version also i tried it using 'sudo link code-1.2.1 code' command but still getting same error.

Thanks.

like image 547
Manish Chauhan Avatar asked Aug 13 '13 11:08

Manish Chauhan


1 Answers

You are attempting to create a hardlink to a directory. Linux will not allow this. Create a symlink instead (ln -s).

like image 173
Ignacio Vazquez-Abrams Avatar answered Oct 28 '22 11:10

Ignacio Vazquez-Abrams