How does Live Mesh set file permissions? RRS feed

  • Question

  • Below is a sequence where I encounter an error. I do not know if this is a bug or just quirk of how Live Mesh works.

    1. An Excel file is created in a Live Mesh folder via Windows remote desktop (winRD) on a remote computer (PC#1). This file can be opened by another local user and reopened via winRD.
    2. The file is saved on PC#2 by the Mesh.
    3. The file is updated on PC#2 which the Mesh then copies back to PC#1.
    4. Then when trying to access the file on PC#1 via winRD, Excel cannot open the it saying the document is read only or encrypted.
    5. The file is accessed/updated by the local user on PC#1 with no problem. This appears to reset permissions.
    6. The file can be accessed normally by winRD.

    Can anyone explain this unusual situation? Both PCs are running WinXP.

    Sunday, February 14, 2010 2:00 AM


  • Permissions in Live Mesh are an oddity. You've made it a bit more complicated by adding Remote Desktop via native Windows Remote Desktop to the mix, but the basic premise remains the same.
    Live Mesh brings the permissions of a file with it from the source machine. It does not pay attention to the folder permissions, but the specific file permissions. Hopefully this will be addressed in the next version, but for now the solution is that you need to change the permissions on the file after it gets copied if you want that file to be accessible by multiple users. Otherwise it retains specific permissions for the user who modified it last and it is unavailable to other logged on users on the destination machine. If the same userID was used (Windows login) on all PCs in the Mesh and the file is only accessed by that single user, you may never encounter this issue. However, when you share a folder via Live Mesh and access it from various Windows Logins, you can run into this permissions issue. If the destination folder is a shared folder with rights to all logged in users, you will want to simply reset the folder permissions and let them cascade to the files and folders within to reset the file that was copied over via Live Mesh. Yes, it is a pain.
    ~ Microsoft MVP Windows Live ~ Windows Live OneCare| Live Mesh|MS Security Essentials Forums Moderator ~
    Monday, February 15, 2010 2:36 AM