Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

creating symbolic link: Protocol error

I have created linux (Centos) on my virtual box. When I ssh to it and I try to create symbolic link (on my shared folder with full access):

ln -s path/folder/example myFolder 

I get error:

ln: creating symbolic link `myFolder': Protocol error 

Is there any reason or solution to this?

like image 638
TroodoN-Mike Avatar asked Jul 27 '13 07:07

TroodoN-Mike


People also ask

How do I manually create a symbolic link?

Creating symlinks in Windows is pretty easy with the mklink command. To start, press Win + X , then select the option “Command Prompt (Admin)” to open the Command Prompt with admin rights. Once the command prompt has been opened, use the below command format to create a symlink for a file.

Does Windows 10 support symlinks?

Windows 11, 10, 8, 7, and Vista all support symbolic links — also known as symlinks — that point to a file or folder on your system. You can create them using the Command Prompt or a third-party tool called Link Shell Extension.

How can we create a symbolic link to file?

Ln Command to Create Symbolic LinksUse the -s option to create a soft (symbolic) link. The -f option will force the command to overwrite a file that already exists. Source is the file or directory being linked to.


1 Answers

Right click on your command prompt and "Run as Administrator" (or whatever program you're using to make those symlinks needs to be run as adminstrator).

like image 118
Angela Zenner Avatar answered Oct 06 '22 05:10

Angela Zenner