Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Powershell - set correct NTFS permissions on homefolder

$
0
0

Hi.

I have for several days now tried to change NTFS permissions on 2 folders without any luck.

Folder 1: domain\userhomedrive

Subfolder 2: domain\userhomedrive\personal

Folder 1 as it is now:

FileSystemRights : Modify, Synchronize

AccessControlType : Allow

IdentityReference : Domain\Username

IsInherited : False

InheritanceFlags : ContainerInherit

PropagationFlags : InheritOnly


FileSystemRights : FullControl

AccessControlType : Allow

IdentityReference : Domain\RDAT_FolderAdmin

IsInherited : True

InheritanceFlags : ContainerInherit, ObjectInherit

PropagationFlags : None


FileSystemRights : ReadAndExecute, Synchronize

AccessControlType : Allow

IdentityReference : Domain\RDAT_AlleFastAnsatte

IsInherited : True

InheritanceFlags : ContainerInherit, ObjectInherit

PropagationFlags : None


Folder 2 as it is now:

FileSystemRights : Modify, Synchronize

AccessControlType : Allow

IdentityReference : Domain\Username

IsInherited : True

InheritanceFlags : ContainerInherit

PropagationFlags : None


FileSystemRights : FullControl

AccessControlType : Allow

IdentityReference : Domain\RDAT_FolderAdmin

IsInherited : True

InheritanceFlags : ContainerInherit, ObjectInherit

PropagationFlags : None


FileSystemRights : ReadAndExecute, Synchronize

AccessControlType : Allow

IdentityReference : Domain\RDAT_AlleFastAnsatte

IsInherited : True

InheritanceFlags : ContainerInherit, ObjectInherit

PropagationFlags : None


Folder 1 as it should be:

FileSystemRights : Modify, Synchronize

AccessControlType : Allow

IdentityReference : Domain\username

IsInherited : False

InheritanceFlags : ContainerInherit, ObjectInherit

PropagationFlags : None


FileSystemRights : FullControl

AccessControlType : Allow

IdentityReference : Domain\RDAT_FolderAdmin

IsInherited : True

InheritanceFlags : ContainerInherit, ObjectInherit

PropagationFlags : None


FileSystemRights : ReadAndExecute, Synchronize

AccessControlType : Allow

IdentityReference : Domain\RDAT_AlleFastAnsatte

IsInherited : True

InheritanceFlags : ContainerInherit, ObjectInherit

PropagationFlags : None

Folder 2 as it should be:


FileSystemRights : ReadExtendedAttributes, ReadAttributes, ReadPermissions, Synchronize

AccessControlType : Allow

IdentityReference : NT AUTHORITY\SYSTEM

IsInherited : False

InheritanceFlags : ContainerInherit, ObjectInherit

PropagationFlags : None


FileSystemRights : FullControl

AccessControlType : Allow

IdentityReference : Domain\RDAT_FolderAdmin

IsInherited : False

InheritanceFlags : ContainerInherit, ObjectInherit

PropagationFlags : None


FileSystemRights : Modify, Synchronize

AccessControlType : Allow

IdentityReference : Domain\username

IsInherited : False

InheritanceFlags : ContainerInherit, ObjectInherit

PropagationFlags : None


I would be most obliged if anyone could help me out.

Regards

CarstenR
<BR>


Viewing all articles
Browse latest Browse all 21975

Trending Articles