How do I create symbolic link in a VMWare shared folder that both host and guest see as a symbolic link?
Clash 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.
linux vmware shared-folders
 |Â
show 1 more comment
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.
linux vmware shared-folders
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
 |Â
show 1 more comment
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.
linux vmware shared-folders
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.
linux vmware shared-folders
linux vmware shared-folders
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
 |Â
show 1 more comment
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
 |Â
show 1 more comment
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!
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
add a comment |Â
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.
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
add a comment |Â
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!
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
add a comment |Â
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!
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
add a comment |Â
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!
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!
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
add a comment |Â
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
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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.
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
add a comment |Â
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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