Networking Forums

Networking Forums > Computer Networking > Windows Networking > ACL problem

Reply
 
 
Will Sellers
Guest
Posts: n/a

 
      07-10-2007, 09:03 PM
I setup a structure that allows teachers to view and edit student folders
and students to only see and work withn their folder.
This worked great all year. Now I need to delete student folders in
preparation for next year.
the structure looks like this:
Classes
Teacher
Students
student a
student b
student c

How can I blow away Students and thus delete student a..b..c

unfortunately student a.. b...c only have an acl for the creator(student)
and the teacher.
I am trying to avoid having to go into 250 student folders and add the admin
to the acl list.
Next year for sure the admin will be there.


 
Reply With Quote
 
 
 
 
DevilsPGD
Guest
Posts: n/a

 
      07-10-2007, 10:19 PM
In message <kuSki.11460$t05.3914@trndny09> "Will Sellers"
<(E-Mail Removed)> wrote:

>I setup a structure that allows teachers to view and edit student folders
>and students to only see and work withn their folder.
>This worked great all year. Now I need to delete student folders in
>preparation for next year.
>the structure looks like this:
> Classes
> Teacher
> Students
> student a
> student b
> student c
>
>How can I blow away Students and thus delete student a..b..c
>
>unfortunately student a.. b...c only have an acl for the creator(student)
>and the teacher.
>I am trying to avoid having to go into 250 student folders and add the admin
>to the acl list.
>Next year for sure the admin will be there.


You probably don't need to go into each of the 250 folders, assuming all
the students get deleted, can't you take ownership at the "Students"
level, reset all the permissions of the "student a" level?

--
If quitters never win, and winners never quit,
what fool came up with, "Quit while you're ahead"?
 
Reply With Quote
 
Dragos CAMARA
Guest
Posts: n/a

 
      07-11-2007, 05:46 AM
hi,
if you are administrator you can use subinacl.exe command to get the rights
on folders and files and after that to delete that folders.
--
Dragos CAMARA
MCSA Windows 2003 server


"Will Sellers" wrote:

> I setup a structure that allows teachers to view and edit student folders
> and students to only see and work withn their folder.
> This worked great all year. Now I need to delete student folders in
> preparation for next year.
> the structure looks like this:
> Classes
> Teacher
> Students
> student a
> student b
> student c
>
> How can I blow away Students and thus delete student a..b..c
>
> unfortunately student a.. b...c only have an acl for the creator(student)
> and the teacher.
> I am trying to avoid having to go into 250 student folders and add the admin
> to the acl list.
> Next year for sure the admin will be there.
>
>
>

 
Reply With Quote
 
Will Sellers
Guest
Posts: n/a

 
      07-12-2007, 01:38 AM
I tried using subinacl
Could not get even a simple display to work let alone the more complex
parameters.
My syntax for taking ownership and granting full permission to all
subfolders of Student Files
subinacl /subdirectory "d:/classes/teacher/student files"
/setowner=dscscamo1\administrator /grant=dscscam01\administrator=F /display.
All it get is the line that shows stats.


"Dragos CAMARA" <(E-Mail Removed)> wrote in message
news:FD8653DF-2A76-49BA-A393-(E-Mail Removed)...
> hi,
> if you are administrator you can use subinacl.exe command to get the
> rights
> on folders and files and after that to delete that folders.
> --
> Dragos CAMARA
> MCSA Windows 2003 server
>
>
> "Will Sellers" wrote:
>
>> I setup a structure that allows teachers to view and edit student folders
>> and students to only see and work withn their folder.
>> This worked great all year. Now I need to delete student folders in
>> preparation for next year.
>> the structure looks like this:
>> Classes
>> Teacher
>> Students
>> student a
>> student b
>> student c
>>
>> How can I blow away Students and thus delete student a..b..c
>>
>> unfortunately student a.. b...c only have an acl for the creator(student)
>> and the teacher.
>> I am trying to avoid having to go into 250 student folders and add the
>> admin
>> to the acl list.
>> Next year for sure the admin will be there.
>>
>>
>>



 
Reply With Quote
 
John John
Guest
Posts: n/a

 
      07-12-2007, 02:01 AM
Mind your forward/ \reverse slashes:

"d:/classes/teacher/student files"

Should be:

"d:\classes\teacher\student files"

You might find this helpful: http://www.analogduck.com/main/subinacl

John

Will Sellers wrote:

> I tried using subinacl
> Could not get even a simple display to work let alone the more complex
> parameters.
> My syntax for taking ownership and granting full permission to all
> subfolders of Student Files
> subinacl /subdirectory "d:/classes/teacher/student files"
> /setowner=dscscamo1\administrator /grant=dscscam01\administrator=F /display.
> All it get is the line that shows stats.
>
>
> "Dragos CAMARA" <(E-Mail Removed)> wrote in message
> news:FD8653DF-2A76-49BA-A393-(E-Mail Removed)...
>
>>hi,
>>if you are administrator you can use subinacl.exe command to get the
>>rights
>>on folders and files and after that to delete that folders.
>>--
>>Dragos CAMARA
>>MCSA Windows 2003 server
>>
>>
>>"Will Sellers" wrote:
>>
>>
>>>I setup a structure that allows teachers to view and edit student folders
>>>and students to only see and work withn their folder.
>>>This worked great all year. Now I need to delete student folders in
>>>preparation for next year.
>>>the structure looks like this:
>>> Classes
>>> Teacher
>>> Students
>>> student a
>>> student b
>>> student c
>>>
>>>How can I blow away Students and thus delete student a..b..c
>>>
>>>unfortunately student a.. b...c only have an acl for the creator(student)
>>>and the teacher.
>>>I am trying to avoid having to go into 250 student folders and add the
>>>admin
>>>to the acl list.
>>>Next year for sure the admin will be there.
>>>
>>>
>>>

>
>
>

 
Reply With Quote
 
Will Sellers
Guest
Posts: n/a

 
      07-12-2007, 10:40 AM
The slashes are a typo.

I have tried doing a simple display of a directory
same results no display except the stats line.
I am running subinacl from the command box.


"John John" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Mind your forward/ \reverse slashes:
>
> "d:/classes/teacher/student files"
>
> Should be:
>
> "d:\classes\teacher\student files"
>
> You might find this helpful: http://www.analogduck.com/main/subinacl
>
> John
>
> Will Sellers wrote:
>
>> I tried using subinacl
>> Could not get even a simple display to work let alone the more complex
>> parameters.
>> My syntax for taking ownership and granting full permission to all
>> subfolders of Student Files
>> subinacl /subdirectory "d:/classes/teacher/student files"
>> /setowner=dscscamo1\administrator /grant=dscscam01\administrator=F
>> /display.
>> All it get is the line that shows stats.
>>
>>
>> "Dragos CAMARA" <(E-Mail Removed)> wrote in message
>> news:FD8653DF-2A76-49BA-A393-(E-Mail Removed)...
>>
>>>hi,
>>>if you are administrator you can use subinacl.exe command to get the
>>>rights
>>>on folders and files and after that to delete that folders.
>>>--
>>>Dragos CAMARA
>>>MCSA Windows 2003 server
>>>
>>>
>>>"Will Sellers" wrote:
>>>
>>>
>>>>I setup a structure that allows teachers to view and edit student
>>>>folders
>>>>and students to only see and work withn their folder.
>>>>This worked great all year. Now I need to delete student folders in
>>>>preparation for next year.
>>>>the structure looks like this:
>>>> Classes
>>>> Teacher
>>>> Students
>>>> student a
>>>> student b
>>>> student c
>>>>
>>>>How can I blow away Students and thus delete student a..b..c
>>>>
>>>>unfortunately student a.. b...c only have an acl for the
>>>>creator(student)
>>>>and the teacher.
>>>>I am trying to avoid having to go into 250 student folders and add the
>>>>admin
>>>>to the acl list.
>>>>Next year for sure the admin will be there.
>>>>
>>>>
>>>>

>>
>>


 
Reply With Quote
 
John John
Guest
Posts: n/a

 
      07-12-2007, 12:23 PM
subinacl /noverbose /subdirectories x:\Somefolder\Somesubfolder\*.*

subinacl /noverbose /subdirectories x:\Folder\Subfolder\*.* >c:\test.txt

John

Will Sellers wrote:
> The slashes are a typo.
>
> I have tried doing a simple display of a directory
> same results no display except the stats line.
> I am running subinacl from the command box.
>
>
> "John John" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
>>Mind your forward/ \reverse slashes:
>>
>>"d:/classes/teacher/student files"
>>
>>Should be:
>>
>>"d:\classes\teacher\student files"
>>
>>You might find this helpful: http://www.analogduck.com/main/subinacl
>>
>>John
>>
>>Will Sellers wrote:
>>
>>
>>>I tried using subinacl
>>>Could not get even a simple display to work let alone the more complex
>>>parameters.
>>>My syntax for taking ownership and granting full permission to all
>>>subfolders of Student Files
>>>subinacl /subdirectory "d:/classes/teacher/student files"
>>>/setowner=dscscamo1\administrator /grant=dscscam01\administrator=F
>>>/display.
>>>All it get is the line that shows stats.
>>>
>>>
>>>"Dragos CAMARA" <(E-Mail Removed)> wrote in message
>>>news:FD8653DF-2A76-49BA-A393-(E-Mail Removed)...
>>>
>>>
>>>>hi,
>>>>if you are administrator you can use subinacl.exe command to get the
>>>>rights
>>>>on folders and files and after that to delete that folders.
>>>>--
>>>>Dragos CAMARA
>>>>MCSA Windows 2003 server
>>>>
>>>>
>>>>"Will Sellers" wrote:
>>>>
>>>>
>>>>
>>>>>I setup a structure that allows teachers to view and edit student
>>>>>folders
>>>>>and students to only see and work withn their folder.
>>>>>This worked great all year. Now I need to delete student folders in
>>>>>preparation for next year.
>>>>>the structure looks like this:
>>>>> Classes
>>>>> Teacher
>>>>> Students
>>>>> student a
>>>>> student b
>>>>> student c
>>>>>
>>>>>How can I blow away Students and thus delete student a..b..c
>>>>>
>>>>>unfortunately student a.. b...c only have an acl for the
>>>>>creator(student)
>>>>>and the teacher.
>>>>>I am trying to avoid having to go into 250 student folders and add the
>>>>>admin
>>>>>to the acl list.
>>>>>Next year for sure the admin will be there.
>>>>>
>>>>>
>>>>>
>>>
>>>

>


 
Reply With Quote
 
Will Sellers
Guest
Posts: n/a

 
      07-13-2007, 05:21 PM
here is my setup:

d:\classes
teacher
studentfiles
student a
student b
student c

Problem student A B C only have the creator acl rights.
no matter what syntax I try I cannot set the rights of student A B C and
their files to Administrator.
So that I can delete them.

As soon as subinacl hits student A it generates an access denied error

"John John" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> subinacl /noverbose /subdirectories x:\Somefolder\Somesubfolder\*.*
>
> subinacl /noverbose /subdirectories x:\Folder\Subfolder\*.* >c:\test.txt
>
> John
>
> Will Sellers wrote:
>> The slashes are a typo.
>>
>> I have tried doing a simple display of a directory
>> same results no display except the stats line.
>> I am running subinacl from the command box.
>>
>>
>> "John John" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>
>>>Mind your forward/ \reverse slashes:
>>>
>>>"d:/classes/teacher/student files"
>>>
>>>Should be:
>>>
>>>"d:\classes\teacher\student files"
>>>
>>>You might find this helpful: http://www.analogduck.com/main/subinacl
>>>
>>>John
>>>
>>>Will Sellers wrote:
>>>
>>>
>>>>I tried using subinacl
>>>>Could not get even a simple display to work let alone the more complex
>>>>parameters.
>>>>My syntax for taking ownership and granting full permission to all
>>>>subfolders of Student Files
>>>>subinacl /subdirectory "d:/classes/teacher/student files"
>>>>/setowner=dscscamo1\administrator /grant=dscscam01\administrator=F
>>>>/display.
>>>>All it get is the line that shows stats.
>>>>
>>>>
>>>>"Dragos CAMARA" <(E-Mail Removed)> wrote in message
>>>>news:FD8653DF-2A76-49BA-A393-(E-Mail Removed)...
>>>>
>>>>
>>>>>hi,
>>>>>if you are administrator you can use subinacl.exe command to get the
>>>>>rights
>>>>>on folders and files and after that to delete that folders.
>>>>>--
>>>>>Dragos CAMARA
>>>>>MCSA Windows 2003 server
>>>>>
>>>>>
>>>>>"Will Sellers" wrote:
>>>>>
>>>>>
>>>>>
>>>>>>I setup a structure that allows teachers to view and edit student
>>>>>>folders
>>>>>>and students to only see and work withn their folder.
>>>>>>This worked great all year. Now I need to delete student folders in
>>>>>>preparation for next year.
>>>>>>the structure looks like this:
>>>>>> Classes
>>>>>> Teacher
>>>>>> Students
>>>>>> student a
>>>>>> student b
>>>>>> student c
>>>>>>
>>>>>>How can I blow away Students and thus delete student a..b..c
>>>>>>
>>>>>>unfortunately student a.. b...c only have an acl for the
>>>>>>creator(student)
>>>>>>and the teacher.
>>>>>>I am trying to avoid having to go into 250 student folders and add the
>>>>>>admin
>>>>>>to the acl list.
>>>>>>Next year for sure the admin will be there.
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>

>>

>



 
Reply With Quote
 
John John
Guest
Posts: n/a

 
      07-13-2007, 07:25 PM
You're the Administrator, seize ownership of the folders/files and you
will be able to do as you please with them. If you are getting errors
with SubInAcl you will have to examine your syntax to determine what is
wrong, it can be a bit tricky to use properly, try:

subinacl /subdirectories d:\*.* /setowner=domainname\user

which should set you as owner of all files on d: , adjust the path
accordingly for what you want to accomplish.

Also, if you downloaded SubInAcl make sure that you downloaded the
newset version for your operating system, older versions may not work
too well with newer OS and vice-versa.

Maybe you should try a different tool, how about CACLS :

cacls d:\ /t /e /g Administrators:f

or

cacls c:\ /t /e /g "Your User Name":f

John

Will Sellers wrote:
> here is my setup:
>
> d:\classes
> teacher
> studentfiles
> student a
> student b
> student c
>
> Problem student A B C only have the creator acl rights.
> no matter what syntax I try I cannot set the rights of student A B C and
> their files to Administrator.
> So that I can delete them.
>
> As soon as subinacl hits student A it generates an access denied error
>
> "John John" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
>>subinacl /noverbose /subdirectories x:\Somefolder\Somesubfolder\*.*
>>
>>subinacl /noverbose /subdirectories x:\Folder\Subfolder\*.* >c:\test.txt
>>
>>John
>>
>>Will Sellers wrote:
>>
>>>The slashes are a typo.
>>>
>>>I have tried doing a simple display of a directory
>>>same results no display except the stats line.
>>>I am running subinacl from the command box.
>>>
>>>
>>>"John John" <(E-Mail Removed)> wrote in message
>>>news:(E-Mail Removed)...
>>>
>>>
>>>>Mind your forward/ \reverse slashes:
>>>>
>>>>"d:/classes/teacher/student files"
>>>>
>>>>Should be:
>>>>
>>>>"d:\classes\teacher\student files"
>>>>
>>>>You might find this helpful: http://www.analogduck.com/main/subinacl
>>>>
>>>>John
>>>>
>>>>Will Sellers wrote:
>>>>
>>>>
>>>>
>>>>>I tried using subinacl
>>>>>Could not get even a simple display to work let alone the more complex
>>>>>parameters.
>>>>>My syntax for taking ownership and granting full permission to all
>>>>>subfolders of Student Files
>>>>>subinacl /subdirectory "d:/classes/teacher/student files"
>>>>>/setowner=dscscamo1\administrator /grant=dscscam01\administrator=F
>>>>>/display.
>>>>>All it get is the line that shows stats.
>>>>>
>>>>>
>>>>>"Dragos CAMARA" <(E-Mail Removed)> wrote in message
>>>>>news:FD8653DF-2A76-49BA-A393-(E-Mail Removed)...
>>>>>
>>>>>
>>>>>
>>>>>>hi,
>>>>>>if you are administrator you can use subinacl.exe command to get the
>>>>>>rights
>>>>>>on folders and files and after that to delete that folders.
>>>>>>--
>>>>>>Dragos CAMARA
>>>>>>MCSA Windows 2003 server
>>>>>>
>>>>>>
>>>>>>"Will Sellers" wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>I setup a structure that allows teachers to view and edit student
>>>>>>>folders
>>>>>>>and students to only see and work withn their folder.
>>>>>>>This worked great all year. Now I need to delete student folders in
>>>>>>>preparation for next year.
>>>>>>>the structure looks like this:
>>>>>>> Classes
>>>>>>> Teacher
>>>>>>> Students
>>>>>>> student a
>>>>>>> student b
>>>>>>> student c
>>>>>>>
>>>>>>>How can I blow away Students and thus delete student a..b..c
>>>>>>>
>>>>>>>unfortunately student a.. b...c only have an acl for the
>>>>>>>creator(student)
>>>>>>>and the teacher.
>>>>>>>I am trying to avoid having to go into 250 student folders and add the
>>>>>>>admin
>>>>>>>to the acl list.
>>>>>>>Next year for sure the admin will be there.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>

>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange problem: no problem with Linux, when I boot windows 2K network is down... Santa Linux Networking 11 11-29-2004 06:46 AM



1 2 3 4 5 6 7 8 9 10 11