Shares & ACL

Discussion in 'Scripting' started by ZLOC, Nov 5, 2003.

  1. ZLOC

    ZLOC Guest

    Hi guys,
    I have to create a lot of shares on our site and it's not
    a problem, but how to setup access rights for subloders
    with script ??

    thx in advance
     
    ZLOC, Nov 5, 2003
    #1
    1. Advertisements

  2. Hi

    If you want to set permission on the underlying NTFS file system:

    Cacls.exe or SetACL.exe


    If you want to set permission on the share itself:

    RMTShare.exe or SetACL.exe


    ==================================================

    Cacls.exe: Come builtin with Win2k/WinXP

    RMTShare.exe: Win2k Resource Kit, or
    http://www.jsiinc.com/asp/reghacks.asp?tipnumb=6353

    SETACL (freeware) at
    http://setacl.sourceforge.net/

    SetACL can set permissions on:

    Local or remote directories
    Local or remote files
    Local or remote printers
    Local or remote registry keys
    Local or remote Win32 services
    Local or remote network shares
     
    Torgeir Bakken (MVP), Nov 9, 2003
    #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.