Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

"Access denied" on Windows Server files locally

Posted on 2011-03-14
7
Medium Priority
?
502 Views
Last Modified: 2012-05-11
After modifiying some permissions on a Windows Server 2003, i have problems accessing subfolders of "D:\DIR\" from the local console. In my example I use YYYYY as one of the erroneous directories.

ROBIN\Administrateur and BUILTIN\Administrators are all defined as OWNERS in each of the directories, but I get an "Access is denied"-error when accessing "D:\DIR\YYYYY" with any Account, even the Administrator accounts.

So I opened the properties->Security tab of the foler and I get the error: "You do not have permission to view or edit the current permission settings for YYYYY, but you can take ownership or change auditing settings."

So I checked what it says, I opened the "Advanced security settings" and checked the "Owner" tab. My current user was listed, but I can't change permissions for the YYYYY directory. (I've tried with local admin and domain admin.)


Summary of the current permissions:

cacls D:\DIR\working_apl
       ROBIN\Administrateur:(OI)(CI)F
       BUILTIN\Administrators:(OI)(CI)F
       ROBIN\Compta:(OI)(CI)F

cacls D:\DIR\XXXXX
       ROBIN\Administrateur:(OI)(CI)F
       BUILTIN\Administrators:(OI)(CI)F
       ROBIN\Compta:(OI)(CI)F

cacls D:\DIR\YYYYY
       Access is denied.
 
0
Comment
Question by:luxpaparazzi
  • 4
  • 3
7 Comments
 
LVL 13

Accepted Solution

by:
Randy_Bojangles earned 2000 total points
ID: 35126967
Take ownership of the YYYYY directory and make sure that you tick the box to propogate changes to subfolders and files
0
 

Author Comment

by:luxpaparazzi
ID: 35126988
Well as I wrote, I am already "owner" of all 3 directories.

When I wan't to add a different group to the owners of D:\DIR\ and I set the propagation checkbox I get "Access denied" errors for several subdirectories...
0
 
LVL 13

Assisted Solution

by:Randy_Bojangles
Randy_Bojangles earned 2000 total points
ID: 35126996
yep - you are the owner of the directory but that hasnt necessarily propogated to the subfolders - hence the errors you get

Thats why I say to try it again as the administartor, take ownership and propogate
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:luxpaparazzi
ID: 35127009
Ok, I just added the group "compta" and checked "Replaced owner on subcontainers...", I now get some "Access denied" errors.
0
 

Author Comment

by:luxpaparazzi
ID: 35127199
Randy_Bojangles: "Take ownership of the YYYYY directory and make sure that you tick the box to propogate changes to subfolders and files"

Which is perfectly correct, I just want to add the following command:

I thought all listed users would be "Owners", which is NOT correct!
I had to select exactly one from the list and everything was ok.

Thanks Randy_Bojangles!
0
 
LVL 13

Expert Comment

by:Randy_Bojangles
ID: 35127222
So I answered the question "perfectly correct" as you say yet you award no points?
0
 
LVL 13

Expert Comment

by:Randy_Bojangles
ID: 35127236
Thanks for re-closing with points

Glad to have been of help

Andy
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question