Windows sharing

 

 


show long paths

 

"net share"

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Shares

Start -> Run -> compmgmt.msc -> OK.

Computer Management (Local) -> System Tools -> Shared Folders -> Shares.

 


List files and their permissions (access) in CLI

 

icacls

Z:\Logs My_AD_Domain_Name\MyWebService:(OI)(CI)(F)
            My_AD_Domain_Name\Domain Admins:(OI)(CI)(F)
            BUILTIN\Administrators:(F)
            BUILTIN\Administrators:(I)(OI)(CI)(F)
            NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
            CREATOR OWNER:(I)(OI)(CI)(IO)(F)
            BUILTIN\Users:(I)(OI)(CI)(RX)
            BUILTIN\Users:(I)(CI)(AD)
            BUILTIN\Users:(I)(CI)(WD)

(OI) - object inherit
(CI) - container inherit
(I) - permission inherited from parent container
(IO) - inherit only

F - full access
RX - read and execute access
AD - append data/add subdirectory
WD - write data/add file