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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SysExpertCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.