Sharing symbolic links on networked drive - is not accessible due permissions

R

Radekor

  • We have several windows servers 2012 R2.
  • And a file server provided by a third party, which provides a volume available thru CIFS/SMB.
  • I want create symbolic folder on win server to "file server" and shared it.


So, on Win server 2012 I created symbolic folder to file server:


net use \\file_server /user:super_user /persistent:Yes

mklink /d C:\data \\file_server\data




Symbolic folder works great, I can locally listing/adding/deleting C:\data..., ok.


Now I made this folder as shared. I checked all link types are enabled:


C:\>fsutil behavior query SymlinkEvaluation


Local to local symbolic links are enabled.
Local to remote symbolic links are enabled.
Remote to local symbolic links are enabled.
Remote to remote symbolic links are enabled.




But when I try to access this shared folder from other machine, I get error:


\\vps\shared_folder is not accessible. You might not have permission to use this network resource. Contact administrator of this server to find out if you have access permissions.

The device is not ready.

It's interesting, that I get this error locally on the win server too, when I try access: \\vps\data - but other shared folders work! For example: \\vps\backups ...

Ok, so I tried create symbolic folder on the same volume the win server and then shared and it's working:

mklink /d C:\data_test C:\tmp\data
... and sharing ...

Now everything is ok, I can access to this folder (\\vps\data_test) from any machine (outside domain too), ok! So there is not a problem with sharing symoblic links.

So I think, there is probably a problem with (saving) credentils to file server. When I show all shared folders on this Win servers, there are displayed all shared folder and they are accessible over \\vps\shared_folder_xxx, but except the folder "\\vps\data" created over symbolic link, there I get the error above...

Continue reading...
 
Back
Top Bottom