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.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>
>