Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Windows Server General Help » Hoping to get some help with copying permissions for folders/subfolders..
Hoping to get some help with copying permissions for folders/subfolders.. [message #164121] Mon, 15 June 2009 14:17 Go to next message
newsqlman  is currently offline newsqlman  United States
Messages: 3
Registered: June 2009
Junior Member
I'm hoping that someone can help me out. I've tried the robocopy
command but am getting an error but if someone can direct me in the
correct direction it would be greatly appreciated.

A year ago a company had someone help set them up with a folder/
subfolder template for one of their data drives. Basically they have
a lot of parts and want the same subfolders under the different part
names. At the time the person that set it up for them had given them
a robocopy statement to copy the template that was setup for them with
all the security as well. Well things have changed and now they want
to lock down the different subfolders under the main part name.
Basically keeping the folders/subfolders and various files created in
them over the past year but locking down the folders/subfolders with
security that replicates underneath them to the files that are located
there.

It seems like robocopy should be able to do this with the:
robocopy source destination /copy:sou

But I get an error with that. Is there something I'm missing or is
there another way to basically replace the security on the folders/
subfolders without harming the data that resides in them? There is a
part template folder created with all the subfolders and currently has
the correct security that we want to replicate to the previously
created and used folders/subfolders.

Thanks.
Re: Hoping to get some help with copying permissions for folders/subfolders.. [message #164125 is a reply to message #164121] Mon, 15 June 2009 17:02 Go to previous messageGo to next message
news  is currently offline news  Switzerland
Messages: 2294
Registered: July 2009
Senior Member
"newsqlman" <ndittoo@yahoo.com> wrote in message
news:9999dcbc-9ca4-4964-a77d-f90f5e7aef8a@z20g2000prh.googlegroups.com...
> I'm hoping that someone can help me out. I've tried the robocopy
> command but am getting an error but if someone can direct me in the
> correct direction it would be greatly appreciated.
>
> A year ago a company had someone help set them up with a folder/
> subfolder template for one of their data drives. Basically they have
> a lot of parts and want the same subfolders under the different part
> names. At the time the person that set it up for them had given them
> a robocopy statement to copy the template that was setup for them with
> all the security as well. Well things have changed and now they want
> to lock down the different subfolders under the main part name.
> Basically keeping the folders/subfolders and various files created in
> them over the past year but locking down the folders/subfolders with
> security that replicates underneath them to the files that are located
> there.
>
> It seems like robocopy should be able to do this with the:
> robocopy source destination /copy:sou
>
> But I get an error with that. Is there something I'm missing or is
> there another way to basically replace the security on the folders/
> subfolders without harming the data that resides in them? There is a
> part template folder created with all the subfolders and currently has
> the correct security that we want to replicate to the previously
> created and used folders/subfolders.
>
> Thanks.

You need to post both the exact robocopy command you use and the error
message you get.
Re: Hoping to get some help with copying permissions for folders/subfolders.. [message #164139 is a reply to message #164125] Tue, 16 June 2009 09:34 Go to previous messageGo to next message
newsqlman  is currently offline newsqlman  United States
Messages: 3
Registered: June 2009
Junior Member
That is the exact copy of the command I used when I first started but
got an error saying Skipped because there was an extra file in the
root of the destination directory that wasn't in the source
directory. But what I'm trying to do is copy the permissions from a
source set of folders/subfolders to a destination folder that has the
same set of folders/subfolder setup but with in those folders there
will be misc. files and other folders that need to inherit what folder/
subfolder of the main setup has. I hope that helps or makes sense.

After trying that command and getting the skipped message and no
change to my destination, I ran the following command:
robocopy source destination /copy:sou /e /it

I get results of 73 Directories, Copied 8, Skipped 65, and Extras 4
So I'm not sure it copied all the security information to my folders/
subfolders since it says it only copied 8.

Let me know if you need more info. Thanks.
Re: Hoping to get some help with copying permissions for folders/subfolders.. [message #164147 is a reply to message #164139] Tue, 16 June 2009 10:56 Go to previous message
news  is currently offline news  Switzerland
Messages: 2294
Registered: July 2009
Senior Member
"newsqlman" <ndittoo@yahoo.com> wrote in message
news:343b94ef-a6ee-40d8-8680-a895b375849b@y10g2000prc.googlegroups.com...
> That is the exact copy of the command I used when I first started but
> got an error saying Skipped because there was an extra file in the
> root of the destination directory that wasn't in the source
> directory. But what I'm trying to do is copy the permissions from a
> source set of folders/subfolders to a destination folder that has the
> same set of folders/subfolder setup but with in those folders there
> will be misc. files and other folders that need to inherit what folder/
> subfolder of the main setup has. I hope that helps or makes sense.
>
> After trying that command and getting the skipped message and no
> change to my destination, I ran the following command:
> robocopy source destination /copy:sou /e /it
>
> I get results of 73 Directories, Copied 8, Skipped 65, and Extras 4
> So I'm not sure it copied all the security information to my folders/
> subfolders since it says it only copied 8.
>
> Let me know if you need more info. Thanks.

The "copied" count tells you how many files were copied. It tells you
nothing about the ACLs. You should do this to build up your confidence:
1. Set some non-standard ACL to two or three target folders.
2. Run your robocopy command.
3. Check the two or three ACLs. They should now be standardised.
Re: Hoping to get some help with copying permissions for folders/subfolders.. [message #164178 is a reply to message #164121] Tue, 16 June 2009 09:05 Go to previous message
lanwench  is currently offline lanwench  United States
Messages: 1684
Registered: July 2009
Senior Member
newsqlman <ndittoo@yahoo.com> wrote:
> I'm hoping that someone can help me out. I've tried the robocopy
> command but am getting an error but if someone can direct me in the
> correct direction it would be greatly appreciated.
>
> A year ago a company had someone help set them up with a folder/
> subfolder template for one of their data drives. Basically they have
> a lot of parts and want the same subfolders under the different part
> names. At the time the person that set it up for them had given them
> a robocopy statement to copy the template that was setup for them with
> all the security as well. Well things have changed and now they want
> to lock down the different subfolders under the main part name.
> Basically keeping the folders/subfolders and various files created in
> them over the past year but locking down the folders/subfolders with
> security that replicates underneath them to the files that are located
> there.
>
> It seems like robocopy should be able to do this with the:
> robocopy source destination /copy:sou
>
> But I get an error with that. Is there something I'm missing or is
> there another way to basically replace the security on the folders/
> subfolders without harming the data that resides in them? There is a
> part template folder created with all the subfolders and currently has
> the correct security that we want to replicate to the previously
> created and used folders/subfolders.
>
> Thanks.

Youch. My advice? Don't do this. If you have a share, all the subfolders
underneath it should have the same permissions as the parent folder. Do not
get into the business of setting different permissions for subfolders or you
will end up with an administrative nightmare.
Previous Topic:Terminal Service added and now need to delete service
Next Topic:Mysterious Lost Disk Space
Goto Forum:
  


Current Time: Tue Aug 22 03:14:02 EDT 2017

Total time taken to generate the page: 0.10065 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software