WMP11 Sharing - Folder Permissions keep getting reset

Discussion in 'Windows Media Player' started by Dave Cattley, Sep 7, 2006.

  1. Dave Cattley

    Dave Cattley Guest

    When I enable UPnP AV sharing with WMP11, the permissions on my music, video,
    and photos folders get set such that the ACL has only "Read" permissions for
    NETWORK_SERVICE. This causes all of the content to 'disappear' from the
    network.

    The folders I am sharing are UNC paths to shares setup on the same host.
    The shares themselves are setup with Read Only permitted to prevent changes
    to the files from the network. Example:

    WMP11 is installed on host \\EAGLE.
    Disk drive D: has a folder structure as follows:
    D:\MediaLibrary
    D:\MediaLibrary\Music
    D:\MediaLibrary\Video
    D:\MedialLibrary\Photos

    D:\MediaLibrary has the 'hidden' attribute set to prevent casual discovery
    of the folder. The folders .\Music, .\Video, and .\Photos are all shared as
    separate shares named \\Eagle\Music, \\Eagle\Video, and \\Eagle\Photos
    respectively. The share permissions are RO.

    The purpose of this obtuse scheme is to allow the content to be visable as
    UNC shares but only readable to protect the integrity of the metadata. The
    local WMP11 library also accesses the content via the RO UNC path.

    When I add \\Eagle\Music (etc.) to WMP11 library folders and enable sharing,
    the NTFS permissions on D:\MediaLibrary\Music (etc). get *reset* such that
    the ACL only has NETWORK_SERVICE:Read. ACL inheritance is disabled.

    Is this by design? I cannot understand why. To 'correct' this I have to
    recognize when WMP11 has done this an then go reset the ACLs (recursively) on
    the D:\MediaLibrary\*\... enabling ACL inheritance and the rational
    permissions that were present before enabling WMP11 sharing. I have added an
    ACE with NETWORK_SERVICE:RO to try and prevent WMP11 from thinking it needs
    to update the ACL but I still find the ACL munged to a single ACE with
    NETWORK_SERVICE:RO.

    What is going on here?
     
    Dave Cattley, Sep 7, 2006
    #1
    1. Advertisements

  2. Dave - Thanks for the detailed report, I've referred this to some
    poeple at microsoft who might know how to help.

    I'm trying to track all the WMC / UPnP related issues, so anything
    like this is great to pin down bugs and sometimes sheer lunacy ;-)

    Cheers - Neil
     
    Neil Smith [MVP Digital Media], Sep 7, 2006
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.