1

I have read/write access to an SMB share, but I do not have access to the box itself. My end goal is to create a symbolic link of some sort inside the share to another share, so that other devices connected can access the share. My problem is that the devices I have connected to the share have a hard coded reference to the shares and I cannot add anymore ... e.g., they only see this:

\\networkshare1\videos

And I have:

\\networkshare2\videos

I do not have anything besides file system access to networkshare1, but I do have full permissions for the folders.

I'd like to have something like:

\\networkshare1\videos\folderlink

And if you hit that directory the networkshare2 videos folder is exposed.

chum of chance
  • 279
  • 1
  • 4
  • 13

3 Answers3

0

In Windows you are not allowed to create symbolic links for network shares, But instead you can create "Desktop shortcut"

jovenb
  • 1
  • 1
  • 1
    Are you sure about that statement? I mean, you can create a drive mapping to a network share and create a symbolic link to that location, isn't it? – Dominique Apr 05 '23 at 06:35
  • Welcome to SuperUser! Where did you read this?As far as I know this is not true, you just need elevated rights to do so. – DarkDiamond Apr 05 '23 at 06:44
0

Symbolic links to network shares are not allowed.

Alexey Ivanov
  • 4,349
  • 4
  • 26
  • 59
0

if you can create a symlink to the actual disk location instead of the share, you can set 'follow symlinks = yes ' in your smb.conf, and it will work. I have my nas set up the same way, so that content from multiple disks can be exposed via a single share.

if you can't acutally create the symlink on the server, then you will have to try Scott Chamberlain's advice above.

http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html

Frank Thomas
  • 35,097
  • 3
  • 77
  • 98