Re: Permission: the owner of a directory cannot access files but can delete them!

From: Steve Seguis [MVP] (steve_NO_SPAM_at_scriptmation.com)
Date: 11/24/05

  • Next message: Fox: "Event ID: 40968"
    Date: Thu, 24 Nov 2005 01:35:07 GMT
    
    

    Then the first thing you need to do is the retake ownership of that folder
    and all its subfolders, then you can apply the permissions. The best
    non-destructive way to do this is to use the xcacls.exe command so the
    existing permission don't get touched. For example try this

    xcalcs \\server\share\folder /E /T /G domain\username:F

    this command grants domain\username full control to \\server\share\folder
    and all its subdirectories while keeping the existing permissions intact.

    -- 
    Steve Seguis - MCSE, MVP Windows Server, SCJP
    SCRIPTMATION, INC.
    Automating the Enterprise
    http://www.scriptmation.com
    "Stefano" <stecrimi@yahoo.com> wrote in message 
    news:1132744193.840922.15890@g43g2000cwa.googlegroups.com...
    > Unfortunately, the file in the subdirectory has the "propagate parent
    > privileges" not set, so when I try to change the permissions, I obtain
    > an error...
    > 
    

  • Next message: Fox: "Event ID: 40968"

    Relevant Pages

    • Re: Default permissions for the "Default User" account folder
      ... > I gather that Windows uses the permissions from this ... > folder when adding new user accounts. ... > Full - Administrators - This folder, subfolders, and files ... and have created several templates ...
      (microsoft.public.windowsxp.security_admin)
    • Re: Why do some folders/registry keys have 2 permissions instead of 1?
      ... > I'm trying to write a script that will compare permissions for a large ... But if you check the folder or registry key's ... > group/user when it only needed to save one ACE. ... > gives Full Control to myuser for subfolders and files, ...
      (microsoft.public.win2000.general)
    • Re: Why do some folders/registry keys have 2 permissions instead of 1?
      ... > I'm trying to write a script that will compare permissions for a large ... But if you check the folder or registry key's ... > group/user when it only needed to save one ACE. ... > gives Full Control to myuser for subfolders and files, ...
      (microsoft.public.win2000.registry)
    • Re: Why do some folders/registry keys have 2 permissions instead of 1?
      ... > I'm trying to write a script that will compare permissions for a large ... But if you check the folder or registry key's ... > group/user when it only needed to save one ACE. ... > gives Full Control to myuser for subfolders and files, ...
      (microsoft.public.win2000.security)
    • Re: NTFS Permissions
      ... > I want to be able to secure my network file shares through NTFS permissions so that users cannot accidently delete subfolders or the root foler of their file share but have come across an interesting problem. ... > Then I have a test group called test1 with a bunch of users in the test group and I apply this group to have modify permissions on the test folder. ... Grant the users Read, Write, and Execute perms on the given folder, ...
      (microsoft.public.windows.server.general)