Announcement

Collapse
No announcement yet.

Clone folder permissions

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Clone folder permissions

    I don't know if there is a way to template user permissions on a folder, but basically what I have done is created a set of permissions that works perfectly on a set folder. What I want to do is clone these permissions to another folder, instead of having to write them all down on a piece of paper and spending a few hours going down the list.

  • #2
    Re: Clone folder permissions

    look at robocopy commands this may reveal something as i recall.

    another way that should work is, if you need to exactly mimic the permissions why not place or the folders you wish to mimic under the first folder you setup and apply to all child objects through inheritance, then remove inheritance on the folders and move where you want them?

    Comment


    • #3
      Re: Clone folder permissions

      There's a GUI for robocopy if you need it.
      Please remember to leave positive reputation points (The Ying Yang Icon) if someone helps you.

      Comment


      • #4
        Re: Clone folder permissions

        imo the robocopy GUI isnt that crash hot i found it easier to use the normal version found the win2k3 resource kit and just printout a switch list

        Comment


        • #5
          Re: Clone folder permissions

          Check SubInACL.exe
          - Download
          - Documentation
          1. List permissions to log file:
            "path\subinacl.exe" /noverbose /nostatistic /outputlog="c:\subinaclsave.log" /subdirectories "C:\folder\My Folder" /display
            .
          2. Edit the log file -> change the 'path\folder'
            .
          3. Restore Permissions to the new folder:
            "path\subinacl.exe" /nostatistic /playfile "c:\subinaclsave.log"

          You can do this with a batch:
          - How can I transfer a folder structure, shares, and permissions?
          - How can a script backup or restore NTFS permissions?

          \Rems
          Last edited by Rems; 30th March 2008, 01:31.

          This posting is provided "AS IS" with no warranties, and confers no rights.

          __________________

          ** Remember to give credit where credit's due **
          and leave Reputation Points for meaningful posts

          Comment


          • #6
            Re: Clone folder permissions

            Originally posted by technician View Post
            I don't know if there is a way to template user permissions on a folder, but basically what I have done is created a set of permissions that works perfectly on a set folder. What I want to do is clone these permissions to another folder, instead of having to write them all down on a piece of paper and spending a few hours going down the list.
            The answer was already given, but let me help you a bit more.
            The Source directory contains all your permissions, let's say C:\Path1.
            The Target directory needs all your permissions, let's say C:\Path2.
            Use ROBOCOPY C:\Path1 C:\Path2 /Mir /Sec
            to make an exact copy of the folders, files and permissions.

            Comment

            Working...
            X