Jump to content

Recommended Posts

Posted

Ok so i have been putting into place a DFS for backing up

 

I made a couple of mistakes on the first attempt and had to remove the replication group

 

when i recreated the group the replication did not work, when i checked the logs it was giving a file permission error

 

so i thought i would start from scratch

i deleted all the replication groups and left for propagation

 

I then went and tried to delete the DfsrPrivate folder from said replication folders

 

it deletes all apart from the ConflictAndDeleted folder, giving me a folder permission error

it will not even allow me to take ownership

 

 

until i get this sorted i am unable to replicate that folder

 

Source server : 2003 rc2

destination server 2008 rc2

Posted (edited)

Hi

 

can you post the exact error?

 

Are you using an account which a member of the local admin group?

 

 

 

regards

sukh

Edited by sukh
Posted

Its just the standard permission denied error

 

I have tried local admin as well as domain admin but neither work

Whats odd is I cant even take ownership of said folder !

Posted

Hi

 

Can you stop all DFS services and ensure no replication is occuring and then see if you can take ownership of the folder?

 

Also, can you confirm that all you want to be able to do is delete this folder?

 

Regards

Sukh

Posted

OK all Services stopped on all server in the domain

when i go to take ownership i get the following

 

http://img121.imageshack.us/img121/4900/deniedc.png

 

And yes all i want to do is delete, as I can not redo and restart the replication of that folder until I do

Posted

Again permission issue

 

http://img842.imageshack.us/img842/9616/denied2.png

 

I then tried this

 

subinacl //subdirectories "D:\Staff\Teachers\DfsrPrivate" /setowner=amesbury\administrator /grant=amesbury\administrator=F

 

C:\Program Files (x86)\Windows Resource Kits\Tools>subinacl //subdirectories "D:\Staff\Teachers\DfsrPrivate" /setowner=amesbury\administrator grant=amesbury\ad
ministrator=F
WARNING : Error parsing line +/subdirectories d:\staff\teachers\dfsrprivate
Use :
SubInacl /help to get the usage information
or
SubInAcl /help syntax to understand SubInAcl syntax.

Elapsed Time: 00 00:00:00
Done:        0, Modified        0, Failed        0, Syntax errors        1
Last Syntax Error:WARNING : Error parsing line +/subdirectories d:\staff\teacher
s\dfsrprivate

 

Starting to do my head in this one

Posted

Hi

 

Can you try subinacl /subdirectories d:\staff\teachers\*.* /setowner=amesbury\administrator

 

Then check the owner permissions on the folder?

 

Regards

Sukh

Posted

Hi

 

Have you checked the ownership on that folder? What is it set to now? Is the owner the same as before? If yes, can you try another username.

 

Let me know if this is working then we can move on.

 

Regards

Sukh

Posted

Hi

 

Can you now do the following and let check the permission on the folder.

 

subinacl /subdirectories d:\staff\teachers\*.* /grant=amesbury\administrator=f

 

Regards

Sukh

Posted

Hi,

 

Can you tell me if there are any errors when you run that command. Can you post them.

 

Also try,

 

xcacls d:\staff\teachers\*.* /G amesbury\administrator:F

 

Regards

Sukh

Posted
====================================
+File d:\staff\teachers\DfsrPrivate
====================================
/control=0x1c00 SE_DACL_AUTO_INHERITED-0x0400 SE_DACL_PROTECTED-0x1000 SE_SACL_A
UTO_INHERITED-0x0800
/owner             =amesbury\administrator
/primary group     =builtin\administrators
/audit ace count   =0
/perm. ace count   =4
/pace =builtin\administrators   ACCESS_ALLOWED_ACE_TYPE-0x0
       CONTAINER_INHERIT_ACE-0x2      OBJECT_INHERIT_ACE-0x1
   Type of access:
       Special acccess :  -Read  -Write  -Execute -Delete  -Change Permissions
-Take Ownership
   Detailed Access Flags :
       FILE_READ_DATA-0x1          FILE_WRITE_DATA-0x2         FILE_APPEND_DATA
-0x4
       FILE_READ_EA-0x8            FILE_WRITE_EA-0x10          FILE_EXECUTE-0x2
0            FILE_DELETE_CHILD-0x40
       FILE_READ_ATTRIBUTES-0x80   FILE_WRITE_ATTRIBUTES-0x100 DELETE-0x10000
           READ_CONTROL-0x20000
       WRITE_DAC-0x40000           WRITE_OWNER-0x80000         SYNCHRONIZE-0x10
0000
/pace =system   ACCESS_ALLOWED_ACE_TYPE-0x0
       CONTAINER_INHERIT_ACE-0x2      OBJECT_INHERIT_ACE-0x1
   Type of access:
       Special acccess :  -Read  -Write  -Execute -Delete  -Change Permissions
-Take Ownership
   Detailed Access Flags :
       FILE_READ_DATA-0x1          FILE_WRITE_DATA-0x2         FILE_APPEND_DATA
-0x4
       FILE_READ_EA-0x8            FILE_WRITE_EA-0x10          FILE_EXECUTE-0x2
0            FILE_DELETE_CHILD-0x40
       FILE_READ_ATTRIBUTES-0x80   FILE_WRITE_ATTRIBUTES-0x100 DELETE-0x10000
           READ_CONTROL-0x20000
       WRITE_DAC-0x40000           WRITE_OWNER-0x80000         SYNCHRONIZE-0x10
0000
/pace =amesbury\administrator   ACCESS_ALLOWED_ACE_TYPE-0x0
       INHERIT_ONLY_ACE-0x8           OBJECT_INHERIT_ACE-0x1
   Directory - File Type of Access:
       Full Control
   Detailed Access Flags :
       FILE_READ_DATA-0x1          FILE_WRITE_DATA-0x2         FILE_APPEND_DATA
-0x4
       FILE_READ_EA-0x8            FILE_WRITE_EA-0x10          FILE_EXECUTE-0x2
0            FILE_DELETE_CHILD-0x40
       FILE_READ_ATTRIBUTES-0x80   FILE_WRITE_ATTRIBUTES-0x100 DELETE-0x10000
           READ_CONTROL-0x20000
       WRITE_DAC-0x40000           WRITE_OWNER-0x80000         SYNCHRONIZE-0x10
0000
/pace =amesbury\administrator   ACCESS_ALLOWED_ACE_TYPE-0x0
       CONTAINER_INHERIT_ACE-0x2
   Directory - Directory Type of Access:
       Full Control
   Detailed Access Flags :
       FILE_READ_DATA-0x1          FILE_WRITE_DATA-0x2         FILE_APPEND_DATA
-0x4
       FILE_READ_EA-0x8            FILE_WRITE_EA-0x10          FILE_EXECUTE-0x2
0            FILE_DELETE_CHILD-0x40
       FILE_READ_ATTRIBUTES-0x80   FILE_WRITE_ATTRIBUTES-0x100 DELETE-0x10000
           READ_CONTROL-0x20000
       WRITE_DAC-0x40000           WRITE_OWNER-0x80000         SYNCHRONIZE-0x10
0000


Elapsed Time: 00 00:00:00
Done:        1, Modified        0, Failed        0, Syntax errors        0

Posted

Hi

 

Is the hard disk an internal HD?

Have you tried to go into Safe Mode and delete this file?

Can you run a chkdsk and see if there are any errors on that drive?

Also, have you got any 3rd party tool such as ERD which will allow you to access the disk without booting into Windows?

 

Regards

Sukh

Posted (edited)

Hi

 

Can you tell me why you cannot create the folder under the replication group again or create a new replication group and add the folder again?

 

What is preventing you from doing so?

 

Regards

Sukh

Edited by sukh

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • 43 When would you like EduGeek EDIT 2025 to be held?

    1. 1. Select a time period you can attend


      • I can make it in June\July
      • I can make it in August\Sept
      • Other time period. Comment below
      • Either time

×
×
  • Create New...