Home All Groups Group Topic Archive Search About

Adding Administrator privelages to multiple folders

Author
14 Oct 2005 1:28 PM
jasonconstance
I need some help.

I'm trying to back up our student fileserver by dumping all of their
data files to another server with some free disk space.

The fileserver I'm trying to backup is a Win2k server machine.  Each
student has their own folder on a drive that they have permissions to
view.  No other students can access their folder.

The problem I'm running into is that when I try to dump the files to
the other server, I get an error message telling me that access is
denied to some of the subfolders (my pictures) on the students'
folders.  I'm logged in as an administrator on the machine, so I can
see whats inside the students' main folders, its just some of the
subfolders that I'm having trouble with.

Is there ANY other way besides individually taking ownership of each
and every folder to do this?

Author
14 Oct 2005 2:03 PM
Pegasus (MVP)
<jasonconsta***@gmail.com> wrote in message
Show quoteHide quote
news:1129296529.296064.68280@g47g2000cwa.googlegroups.com...
> I need some help.
>
> I'm trying to back up our student fileserver by dumping all of their
> data files to another server with some free disk space.
>
> The fileserver I'm trying to backup is a Win2k server machine.  Each
> student has their own folder on a drive that they have permissions to
> view.  No other students can access their folder.
>
> The problem I'm running into is that when I try to dump the files to
> the other server, I get an error message telling me that access is
> denied to some of the subfolders (my pictures) on the students'
> folders.  I'm logged in as an administrator on the machine, so I can
> see whats inside the students' main folders, its just some of the
> subfolders that I'm having trouble with.
>
> Is there ANY other way besides individually taking ownership of each
> and every folder to do this?
>

You could run this command to seize ownership of all files & folders:

subinacl /subdirectories d:\Student1 /setowner=jason

or for multiple folders:

for /d %a in (*.*) do subinacl /subdirectories "%a" /setowner=jason

Try it on a test folder before applying it to all student folders.
subinacl.exe comes with the Technical Resource Kit.
Are all your drivers up to date? click for free checkup

Author
14 Oct 2005 2:09 PM
jasonconstance
would that command leave permission for the current owner to access the
folder after I'm done, or would I have to reset the permissions the way
they were?
Author
14 Oct 2005 4:45 PM
Jerold Schulman
On 14 Oct 2005 07:09:08 -0700, jasonconsta***@gmail.com wrote:

>would that command leave permission for the current owner to access the
>folder after I'm done, or would I have to reset the permissions the way
>they were?


It doesn't change permissions, just ownership.

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com

Bookmark and Share