How do I create symbolic link in a VMWare shared folder that both host and guest see as a symbolic link?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm using a VMWare virtual machine. The host is Windows 8.1 with a NTFS filesystem; the guest is Linux Mint 19. I have a VMWare shared folder set up, so that the guest sees part of the host's filesytem as a mountable filesystem. It is C:OSPaneldomains to the host and mounted at /mnt/hgfs/SharedFolder/ in the guest.



How can I create a symbolic link in this shared folder that both host and guest see as a symbolic link? Where the guest sees:



/mnt/hgfs/SharedFolder/node_modules/acorn/bin/acorn → /mnt/hgfs/SharedFolder/node_modules/.bin/acorn


the host sees:



C:OSPaneldomainsnode_modulesacornbinacorn → C:OSPaneldomainsnode_modules.binacorn


I have tried many ways, including ln -s source.txt soft-link.txt. Nothing works.
enter image description here










share|improve this question



















  • 2




    Welcome to Unix & Linux! ;-) Could you please edit your question and provide a bit more detailed information? Are you trying to create a symbolic link from within the Linux VM that is readable on the host OS (Windows)?
    – Fabby
    Sep 19 at 17:09










  • Windows host OS, Linux guest OS. Shared folder from Windows
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 17:11






  • 5




    Please edit your question and provide much more info on your set-up: How did you share the folder? Which File System? Leaving a comment is a sure-fire way of anyone but me seeing that info. Ensure all pertinent information is in the question itself не в разделе комментариев, пожалуйста... ;-)
    – Fabby
    Sep 19 at 17:15











  • File Systen Windows - NTFS. I tried many ways, nothing works
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 17:22






  • 2




    Please edit your question and also explain what the link will be pointing to. Will it be a link on the NTFS directory linking to another file/directory in the same NTFS file system? Some other NTFS filesystem? Non-NTFS filesystem?
    – terdon♦
    Sep 19 at 17:26














up vote
0
down vote

favorite












I'm using a VMWare virtual machine. The host is Windows 8.1 with a NTFS filesystem; the guest is Linux Mint 19. I have a VMWare shared folder set up, so that the guest sees part of the host's filesytem as a mountable filesystem. It is C:OSPaneldomains to the host and mounted at /mnt/hgfs/SharedFolder/ in the guest.



How can I create a symbolic link in this shared folder that both host and guest see as a symbolic link? Where the guest sees:



/mnt/hgfs/SharedFolder/node_modules/acorn/bin/acorn → /mnt/hgfs/SharedFolder/node_modules/.bin/acorn


the host sees:



C:OSPaneldomainsnode_modulesacornbinacorn → C:OSPaneldomainsnode_modules.binacorn


I have tried many ways, including ln -s source.txt soft-link.txt. Nothing works.
enter image description here










share|improve this question



















  • 2




    Welcome to Unix & Linux! ;-) Could you please edit your question and provide a bit more detailed information? Are you trying to create a symbolic link from within the Linux VM that is readable on the host OS (Windows)?
    – Fabby
    Sep 19 at 17:09










  • Windows host OS, Linux guest OS. Shared folder from Windows
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 17:11






  • 5




    Please edit your question and provide much more info on your set-up: How did you share the folder? Which File System? Leaving a comment is a sure-fire way of anyone but me seeing that info. Ensure all pertinent information is in the question itself не в разделе комментариев, пожалуйста... ;-)
    – Fabby
    Sep 19 at 17:15











  • File Systen Windows - NTFS. I tried many ways, nothing works
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 17:22






  • 2




    Please edit your question and also explain what the link will be pointing to. Will it be a link on the NTFS directory linking to another file/directory in the same NTFS file system? Some other NTFS filesystem? Non-NTFS filesystem?
    – terdon♦
    Sep 19 at 17:26












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm using a VMWare virtual machine. The host is Windows 8.1 with a NTFS filesystem; the guest is Linux Mint 19. I have a VMWare shared folder set up, so that the guest sees part of the host's filesytem as a mountable filesystem. It is C:OSPaneldomains to the host and mounted at /mnt/hgfs/SharedFolder/ in the guest.



How can I create a symbolic link in this shared folder that both host and guest see as a symbolic link? Where the guest sees:



/mnt/hgfs/SharedFolder/node_modules/acorn/bin/acorn → /mnt/hgfs/SharedFolder/node_modules/.bin/acorn


the host sees:



C:OSPaneldomainsnode_modulesacornbinacorn → C:OSPaneldomainsnode_modules.binacorn


I have tried many ways, including ln -s source.txt soft-link.txt. Nothing works.
enter image description here










share|improve this question















I'm using a VMWare virtual machine. The host is Windows 8.1 with a NTFS filesystem; the guest is Linux Mint 19. I have a VMWare shared folder set up, so that the guest sees part of the host's filesytem as a mountable filesystem. It is C:OSPaneldomains to the host and mounted at /mnt/hgfs/SharedFolder/ in the guest.



How can I create a symbolic link in this shared folder that both host and guest see as a symbolic link? Where the guest sees:



/mnt/hgfs/SharedFolder/node_modules/acorn/bin/acorn → /mnt/hgfs/SharedFolder/node_modules/.bin/acorn


the host sees:



C:OSPaneldomainsnode_modulesacornbinacorn → C:OSPaneldomainsnode_modules.binacorn


I have tried many ways, including ln -s source.txt soft-link.txt. Nothing works.
enter image description here







linux vmware shared-folders






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 20 at 13:57

























asked Sep 19 at 16:52









Александр Черножуков

61




61







  • 2




    Welcome to Unix & Linux! ;-) Could you please edit your question and provide a bit more detailed information? Are you trying to create a symbolic link from within the Linux VM that is readable on the host OS (Windows)?
    – Fabby
    Sep 19 at 17:09










  • Windows host OS, Linux guest OS. Shared folder from Windows
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 17:11






  • 5




    Please edit your question and provide much more info on your set-up: How did you share the folder? Which File System? Leaving a comment is a sure-fire way of anyone but me seeing that info. Ensure all pertinent information is in the question itself не в разделе комментариев, пожалуйста... ;-)
    – Fabby
    Sep 19 at 17:15











  • File Systen Windows - NTFS. I tried many ways, nothing works
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 17:22






  • 2




    Please edit your question and also explain what the link will be pointing to. Will it be a link on the NTFS directory linking to another file/directory in the same NTFS file system? Some other NTFS filesystem? Non-NTFS filesystem?
    – terdon♦
    Sep 19 at 17:26












  • 2




    Welcome to Unix & Linux! ;-) Could you please edit your question and provide a bit more detailed information? Are you trying to create a symbolic link from within the Linux VM that is readable on the host OS (Windows)?
    – Fabby
    Sep 19 at 17:09










  • Windows host OS, Linux guest OS. Shared folder from Windows
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 17:11






  • 5




    Please edit your question and provide much more info on your set-up: How did you share the folder? Which File System? Leaving a comment is a sure-fire way of anyone but me seeing that info. Ensure all pertinent information is in the question itself не в разделе комментариев, пожалуйста... ;-)
    – Fabby
    Sep 19 at 17:15











  • File Systen Windows - NTFS. I tried many ways, nothing works
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 17:22






  • 2




    Please edit your question and also explain what the link will be pointing to. Will it be a link on the NTFS directory linking to another file/directory in the same NTFS file system? Some other NTFS filesystem? Non-NTFS filesystem?
    – terdon♦
    Sep 19 at 17:26







2




2




Welcome to Unix & Linux! ;-) Could you please edit your question and provide a bit more detailed information? Are you trying to create a symbolic link from within the Linux VM that is readable on the host OS (Windows)?
– Fabby
Sep 19 at 17:09




Welcome to Unix & Linux! ;-) Could you please edit your question and provide a bit more detailed information? Are you trying to create a symbolic link from within the Linux VM that is readable on the host OS (Windows)?
– Fabby
Sep 19 at 17:09












Windows host OS, Linux guest OS. Shared folder from Windows
– ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
Sep 19 at 17:11




Windows host OS, Linux guest OS. Shared folder from Windows
– ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
Sep 19 at 17:11




5




5




Please edit your question and provide much more info on your set-up: How did you share the folder? Which File System? Leaving a comment is a sure-fire way of anyone but me seeing that info. Ensure all pertinent information is in the question itself не в разделе комментариев, пожалуйста... ;-)
– Fabby
Sep 19 at 17:15





Please edit your question and provide much more info on your set-up: How did you share the folder? Which File System? Leaving a comment is a sure-fire way of anyone but me seeing that info. Ensure all pertinent information is in the question itself не в разделе комментариев, пожалуйста... ;-)
– Fabby
Sep 19 at 17:15













File Systen Windows - NTFS. I tried many ways, nothing works
– ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
Sep 19 at 17:22




File Systen Windows - NTFS. I tried many ways, nothing works
– ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
Sep 19 at 17:22




2




2




Please edit your question and also explain what the link will be pointing to. Will it be a link on the NTFS directory linking to another file/directory in the same NTFS file system? Some other NTFS filesystem? Non-NTFS filesystem?
– terdon♦
Sep 19 at 17:26




Please edit your question and also explain what the link will be pointing to. Will it be a link on the NTFS directory linking to another file/directory in the same NTFS file system? Some other NTFS filesystem? Non-NTFS filesystem?
– terdon♦
Sep 19 at 17:26










2 Answers
2






active

oldest

votes

















up vote
3
down vote













You should use the tools for the filesystem in use.



In this case you need ntfs-3G-Advanced to be able to read NTFS junctions and need to use the Windows junction functions inside Windows (mklink Link Target) as there is no tool yet (even in the advanced package) to create Windows junctions from within Linux.



Note: Junctions are the NTFS version of EXT symbolic links.



Sorry!






share|improve this answer




















  • Maybe (big maybe) you can use PowerShell under Linux to create an LNK file, but no time to install and test right now.
    – Fabby
    Sep 19 at 18:09










  • i will try ntfs-3G-Advanced , thx
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 20:22










  • it needs to be installed on linux ?
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 20:23










  • Yes, but compiled from source as you're running Mint... @АлександрЧерножуков
    – Fabby
    Sep 20 at 18:13


















up vote
1
down vote













As long as you're using the Nemo file manager (which is normal for Mint), you can create symbolic links.



Select the files you want to make symbolic links to (CTRL+ select files), press and hold CTRL and SHIFT, and then drag the files to the place you want to make the symbolic link.



If you get an error of some sort, this answer on SuperUser describes how to allow certain users/groups to create symbolic links.






share|improve this answer




















  • I tried... An error occurred when creating the symbolic link /home/alex/SharedFolder/Projects/board/tests/readme.md: Access denied Error: EACCES: permission denied, symlink '/ home / alex / SharedFolder / Projects / board / node_modules / acorn / bin / acorn' -> '/home/alex/SharedFolder/Projects/board/node_modules/.bin/conew
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 18:34











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f470067%2fhow-do-i-create-symbolic-link-in-a-vmware-shared-folder-that-both-host-and-guest%23new-answer', 'question_page');

);

Post as a guest






























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote













You should use the tools for the filesystem in use.



In this case you need ntfs-3G-Advanced to be able to read NTFS junctions and need to use the Windows junction functions inside Windows (mklink Link Target) as there is no tool yet (even in the advanced package) to create Windows junctions from within Linux.



Note: Junctions are the NTFS version of EXT symbolic links.



Sorry!






share|improve this answer




















  • Maybe (big maybe) you can use PowerShell under Linux to create an LNK file, but no time to install and test right now.
    – Fabby
    Sep 19 at 18:09










  • i will try ntfs-3G-Advanced , thx
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 20:22










  • it needs to be installed on linux ?
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 20:23










  • Yes, but compiled from source as you're running Mint... @АлександрЧерножуков
    – Fabby
    Sep 20 at 18:13















up vote
3
down vote













You should use the tools for the filesystem in use.



In this case you need ntfs-3G-Advanced to be able to read NTFS junctions and need to use the Windows junction functions inside Windows (mklink Link Target) as there is no tool yet (even in the advanced package) to create Windows junctions from within Linux.



Note: Junctions are the NTFS version of EXT symbolic links.



Sorry!






share|improve this answer




















  • Maybe (big maybe) you can use PowerShell under Linux to create an LNK file, but no time to install and test right now.
    – Fabby
    Sep 19 at 18:09










  • i will try ntfs-3G-Advanced , thx
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 20:22










  • it needs to be installed on linux ?
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 20:23










  • Yes, but compiled from source as you're running Mint... @АлександрЧерножуков
    – Fabby
    Sep 20 at 18:13













up vote
3
down vote










up vote
3
down vote









You should use the tools for the filesystem in use.



In this case you need ntfs-3G-Advanced to be able to read NTFS junctions and need to use the Windows junction functions inside Windows (mklink Link Target) as there is no tool yet (even in the advanced package) to create Windows junctions from within Linux.



Note: Junctions are the NTFS version of EXT symbolic links.



Sorry!






share|improve this answer












You should use the tools for the filesystem in use.



In this case you need ntfs-3G-Advanced to be able to read NTFS junctions and need to use the Windows junction functions inside Windows (mklink Link Target) as there is no tool yet (even in the advanced package) to create Windows junctions from within Linux.



Note: Junctions are the NTFS version of EXT symbolic links.



Sorry!







share|improve this answer












share|improve this answer



share|improve this answer










answered Sep 19 at 17:57









Fabby

2,508723




2,508723











  • Maybe (big maybe) you can use PowerShell under Linux to create an LNK file, but no time to install and test right now.
    – Fabby
    Sep 19 at 18:09










  • i will try ntfs-3G-Advanced , thx
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 20:22










  • it needs to be installed on linux ?
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 20:23










  • Yes, but compiled from source as you're running Mint... @АлександрЧерножуков
    – Fabby
    Sep 20 at 18:13

















  • Maybe (big maybe) you can use PowerShell under Linux to create an LNK file, but no time to install and test right now.
    – Fabby
    Sep 19 at 18:09










  • i will try ntfs-3G-Advanced , thx
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 20:22










  • it needs to be installed on linux ?
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 20:23










  • Yes, but compiled from source as you're running Mint... @АлександрЧерножуков
    – Fabby
    Sep 20 at 18:13
















Maybe (big maybe) you can use PowerShell under Linux to create an LNK file, but no time to install and test right now.
– Fabby
Sep 19 at 18:09




Maybe (big maybe) you can use PowerShell under Linux to create an LNK file, but no time to install and test right now.
– Fabby
Sep 19 at 18:09












i will try ntfs-3G-Advanced , thx
– ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
Sep 19 at 20:22




i will try ntfs-3G-Advanced , thx
– ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
Sep 19 at 20:22












it needs to be installed on linux ?
– ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
Sep 19 at 20:23




it needs to be installed on linux ?
– ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
Sep 19 at 20:23












Yes, but compiled from source as you're running Mint... @АлександрЧерножуков
– Fabby
Sep 20 at 18:13





Yes, but compiled from source as you're running Mint... @АлександрЧерножуков
– Fabby
Sep 20 at 18:13













up vote
1
down vote













As long as you're using the Nemo file manager (which is normal for Mint), you can create symbolic links.



Select the files you want to make symbolic links to (CTRL+ select files), press and hold CTRL and SHIFT, and then drag the files to the place you want to make the symbolic link.



If you get an error of some sort, this answer on SuperUser describes how to allow certain users/groups to create symbolic links.






share|improve this answer




















  • I tried... An error occurred when creating the symbolic link /home/alex/SharedFolder/Projects/board/tests/readme.md: Access denied Error: EACCES: permission denied, symlink '/ home / alex / SharedFolder / Projects / board / node_modules / acorn / bin / acorn' -> '/home/alex/SharedFolder/Projects/board/node_modules/.bin/conew
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 18:34















up vote
1
down vote













As long as you're using the Nemo file manager (which is normal for Mint), you can create symbolic links.



Select the files you want to make symbolic links to (CTRL+ select files), press and hold CTRL and SHIFT, and then drag the files to the place you want to make the symbolic link.



If you get an error of some sort, this answer on SuperUser describes how to allow certain users/groups to create symbolic links.






share|improve this answer




















  • I tried... An error occurred when creating the symbolic link /home/alex/SharedFolder/Projects/board/tests/readme.md: Access denied Error: EACCES: permission denied, symlink '/ home / alex / SharedFolder / Projects / board / node_modules / acorn / bin / acorn' -> '/home/alex/SharedFolder/Projects/board/node_modules/.bin/conew
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 18:34













up vote
1
down vote










up vote
1
down vote









As long as you're using the Nemo file manager (which is normal for Mint), you can create symbolic links.



Select the files you want to make symbolic links to (CTRL+ select files), press and hold CTRL and SHIFT, and then drag the files to the place you want to make the symbolic link.



If you get an error of some sort, this answer on SuperUser describes how to allow certain users/groups to create symbolic links.






share|improve this answer












As long as you're using the Nemo file manager (which is normal for Mint), you can create symbolic links.



Select the files you want to make symbolic links to (CTRL+ select files), press and hold CTRL and SHIFT, and then drag the files to the place you want to make the symbolic link.



If you get an error of some sort, this answer on SuperUser describes how to allow certain users/groups to create symbolic links.







share|improve this answer












share|improve this answer



share|improve this answer










answered Sep 19 at 17:53









Zackary

3610




3610











  • I tried... An error occurred when creating the symbolic link /home/alex/SharedFolder/Projects/board/tests/readme.md: Access denied Error: EACCES: permission denied, symlink '/ home / alex / SharedFolder / Projects / board / node_modules / acorn / bin / acorn' -> '/home/alex/SharedFolder/Projects/board/node_modules/.bin/conew
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 18:34

















  • I tried... An error occurred when creating the symbolic link /home/alex/SharedFolder/Projects/board/tests/readme.md: Access denied Error: EACCES: permission denied, symlink '/ home / alex / SharedFolder / Projects / board / node_modules / acorn / bin / acorn' -> '/home/alex/SharedFolder/Projects/board/node_modules/.bin/conew
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
    Sep 19 at 18:34
















I tried... An error occurred when creating the symbolic link /home/alex/SharedFolder/Projects/board/tests/readme.md: Access denied Error: EACCES: permission denied, symlink '/ home / alex / SharedFolder / Projects / board / node_modules / acorn / bin / acorn' -> '/home/alex/SharedFolder/Projects/board/node_modules/.bin/conew
– ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
Sep 19 at 18:34





I tried... An error occurred when creating the symbolic link /home/alex/SharedFolder/Projects/board/tests/readme.md: Access denied Error: EACCES: permission denied, symlink '/ home / alex / SharedFolder / Projects / board / node_modules / acorn / bin / acorn' -> '/home/alex/SharedFolder/Projects/board/node_modules/.bin/conew
– ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Черножуков
Sep 19 at 18:34


















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f470067%2fhow-do-i-create-symbolic-link-in-a-vmware-shared-folder-that-both-host-and-guest%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?