What is the proper way for creation a share inside another? I need to share subdirectory of share to another division (div2). And I have to secure it from change name of this directory by div1... Finally it should looks like that:
\\ad\share
[d:\share
, belongs to div1]\\ad\subshare
[d:\share\subdir
, belongs to div2; div1 has write permission, but cannot change dir name (\\ad\share\subdir
)]
I tried to make symbolic link to
PS> cmd /c mklink /D D:\subshare \\ad\share\subdir\
and create share subshare
on this link. Not working
Next I tried create share subshare
and make symlink inside share
PS> cmd /c mklink /D D:\share\subdir \\ad\subshare\
Not working.
I could share the subdir directly, but is this the only way? I don't want to do that because I will not see it in main disk directory of shares and I'm affraid to broke permissions in the future.
That's why I ask for the proper way. :)