locked
Does Live Mesh Support Junctions RRS feed

  • Question

  • I have all of documents synced using live mesh. They syncronise with my personal server (server '03), my laptop (Windows XP pro) and my netbook (Windows 7).

    I have a folder inside my documents called that I wanted to share with someone else, but only give them access to that folder.

    What I decided to do is create a junction on the server so that this folder was showing up in two phyisical locations on my hard drive. I was then able to mesh this new junction with the person I wanted to share with.

    The junction is working fine locally, but doesn't seem to dectect any changes made by either party. IE, If I make changes to a file, it'll update my live desktop and all of my devices, and the junctions will register the change but live mesh won't (It will ignore it). The same works in reverse.

    I'm guessing it isn't supported by live mesh, but is it a logical problem that can't be overcome easy, or is it a simple bug that could be fixed?

    Thanks in Advance,
    Garion
    • Edited by Garion Wednesday, June 17, 2009 12:30 PM removed signature
    Wednesday, June 17, 2009 5:10 AM

Answers

  • If I understand your explanation, you have a folder that is a meshed folder, shared with your own devices in the ring. Within that folder, you have a folder that you have defined as a Junction on the server for the subfolder you wish to further share with someone else. You've added this Junction folder to the Mesh on a single PC (the server?) and it syncs with the Live Desktop and has been shared with another Live Mesh user.
    I have never used Junction points, and had only limited knowledge of what they are and how they are used. However, researching this now I can be pretty certain that this is an unsupported scenario. The Junction point "looks" like a physical copy of the folder, but it is not. It is smoke and mirrors, mounting the folder as a volume in addition to the physical location. So, you are creating a situation where the exact same files are being synchronized within the same Mesh twice, which is totally unsupported as it can cause data loss.
    There are some caveats regarding the use of Junctions here:
    http://support.microsoft.com/default.aspx/kb/205524

    The ones that jump out at me:

    -     Use NTFS ACLs to protect files and directories that are targeted by junction points from inadvertent deletion or other file system operations.
    -     Never delete a junction point by using Explorer, a del /s command, or other file system utilities that walk recursively into directory trees. These utilities affect the target directory and all subdirectories.

    Live Mesh manipulates the files within a Mesh folder, copying, deleting, etc. Taking these actions on the Junction point would be the same as the second point above.

    Your best bet is to abandon this strategy and to move the sub-folder, which you wish to share out with the other Mesh user, outside of your already meshed Documents folder. Create a unique Mesh folder for it and let is replicate with your devices and share it with the other user.

    -steve


    Microsoft MVP Windows Live / Windows Live OneCare & Live Mesh Forum Moderator
    Thursday, June 18, 2009 12:40 PM
    Moderator

All replies

  • I'm confused by your description.

    If the Live Desktop is updating and so are your devices, then how is Live Mesh ignoring the change?

    Furthermore, why would you need a junction? If you wish to share out a folder, you make that folder a Live Mesh folder and invite the other person to that folder. If the folder is a child folder of a parent folder that is already part of the Mesh, this will not work, of course. In that case, I'd suggest moving the folder out from under the parent Live Mesh folder and set that as a unique Live Mesh folder, sharing it as desired.

    -steve
    Microsoft MVP Windows Live / Windows Live OneCare & Live Mesh Forum Moderator
    Wednesday, June 17, 2009 1:14 PM
    Moderator
  • Hi Stephen,

    if folder a is a junction of folder b , this is what's happening:

    If I update a file in folder b , live mesh won't detect the change in folder a

    Or if the person I'm sharing with updates a folder, it'll update folder a but the changes won't come through for folder b

    Hope that's a bit more helpful

    Cheers
    Thursday, June 18, 2009 2:53 AM
  • If I understand your explanation, you have a folder that is a meshed folder, shared with your own devices in the ring. Within that folder, you have a folder that you have defined as a Junction on the server for the subfolder you wish to further share with someone else. You've added this Junction folder to the Mesh on a single PC (the server?) and it syncs with the Live Desktop and has been shared with another Live Mesh user.
    I have never used Junction points, and had only limited knowledge of what they are and how they are used. However, researching this now I can be pretty certain that this is an unsupported scenario. The Junction point "looks" like a physical copy of the folder, but it is not. It is smoke and mirrors, mounting the folder as a volume in addition to the physical location. So, you are creating a situation where the exact same files are being synchronized within the same Mesh twice, which is totally unsupported as it can cause data loss.
    There are some caveats regarding the use of Junctions here:
    http://support.microsoft.com/default.aspx/kb/205524

    The ones that jump out at me:

    -     Use NTFS ACLs to protect files and directories that are targeted by junction points from inadvertent deletion or other file system operations.
    -     Never delete a junction point by using Explorer, a del /s command, or other file system utilities that walk recursively into directory trees. These utilities affect the target directory and all subdirectories.

    Live Mesh manipulates the files within a Mesh folder, copying, deleting, etc. Taking these actions on the Junction point would be the same as the second point above.

    Your best bet is to abandon this strategy and to move the sub-folder, which you wish to share out with the other Mesh user, outside of your already meshed Documents folder. Create a unique Mesh folder for it and let is replicate with your devices and share it with the other user.

    -steve


    Microsoft MVP Windows Live / Windows Live OneCare & Live Mesh Forum Moderator
    Thursday, June 18, 2009 12:40 PM
    Moderator
  • Thanks Stephen, I think I will do that then. I can always have a junction on each computer from the shared live mesh folder into my documents

    Cheers :)
     Garion
    Friday, June 19, 2009 8:17 AM
  • You are most welcome and thanks for the question. I learned something, too. :-)
    -steve
    Microsoft MVP Windows Live / Windows Live OneCare & Live Mesh Forum Moderator
    Friday, June 19, 2009 1:14 PM
    Moderator