Having trouble accessing certain files/folders on my server.

Ok, I'm going to try my best to explain my situation as clearly as possible.

One of our clients is a school.  The students each have their own folder on the server within a "user_data_docs" folder.  I didn't create the folder or assign the permissions and I don't have contact with the person that did.  Here is the structure:

-"User_Data_Docs"   *Administrator has full permission*
   - x's student folder (ex:  jdoe, jsmith, sbrown)   *Administrator has full permission*
      - a "My Documents" folder  ---  Administrator has NO permission, and is not the owner, only
        the student has access*                

I (the administrator) need permissions to these My Documents' folders because I am using the iBackup program and it will not backup these files without administrative access.  Is there a way to add administrator to these students "my document" folders without going into each one, making myself the owner, and adding administrative permissions to them?  Thanks a million.
ITINITIATIVESAsked:
Who is Participating?
 
SysExpertConnect With a Mentor Commented:
You may be able to do this via the main folder, but you need to be extremely careful with the way the inheritence of the permissions.
Test on a suitable backup macine before implementing

Alternatively use one of the command line tools XCACLs

 Xcacls.exe
 Displays and modifies security options for system folders.

0
 
Ahmed Abdel SalamPh.D. CandidateCommented:
on the X's folder, remove other users from security tab,
add administrator and from advanced enable enheritance to child folders, once done re-add the other users to parent folder.

HTH
0
 
ITINITIATIVESAuthor Commented:
Thanks for your responses.

X-Reagent, that sounds like a decent solution, but there are hundreds of student folders within "user_data_docs".  That would take me forever.  Any other suggestions ?
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
Ahmed Abdel SalamPh.D. CandidateCommented:
you can make the same on user_data_docs folder instead of X's folder.. no issues
0
 
Jonez176Commented:
I have experienced many headaches related to permissions.  The majority of our solutions involved writing recursive programs because we were dealing with hundreds of thousands of folders.  If programming in .NET 2.0 is an option for you, I would suggest reading up on setting ACE/ACL permissions (http://west-wind.com/weblog/posts/4072.aspx).

Just a few things to remember though:
-Deny permissions OVERRIDE Allow permissions.
-Only the owner of a folder may remove Deny permissions.

I can provide more info upon request.  Good luck.
0
 
Jay_Jay70Commented:
set the admin as the owner on the root folder and propogate them down.....simple and easy and fast
0
 
ITINITIATIVESAuthor Commented:
When I make myself the owner, it gives me administrative rights of User_data_docs and the student's folder's below it.  However, it removes the explicit permissions of their "my documents" folders and leaves administrator as the only one who has access.  It's a weird setup. Any other suggestions?
0
 
Jay_Jay70Commented:
it removes it all? yuk, maybe worth unticking inheritance on the sub folders, copying the permissions when prompted - then setting perms on the top and pushing them down again - its a shot in the dark and its early, but you shoul dbe able to add and not replace
0
 
ITINITIATIVESAuthor Commented:
Jay Jay70, thank you for your response.  I gave this a shot ( in a test environment of course) and it didn't work.  There are some sort of special permissions on the "my documents" folders.
0
 
Jay_Jay70Commented:
hmmm does your policy specify to grant rights to the specif user - (cant remeber the exact name but its under the my docs redirection settings)
0
 
SysExpertCommented:
Please see my previous comment regarding   Xcacls.exe

It can list and change permissions, and should be scriptable.

 
I hope this helps !

0
All Courses

From novice to tech pro — start learning today.