wickit Posted February 24, 2011 Report Posted February 24, 2011 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
sukh Posted February 26, 2011 Report Posted February 26, 2011 (edited) Hi can you post the exact error? Are you using an account which a member of the local admin group? regards sukh Edited February 26, 2011 by sukh
wickit Posted February 28, 2011 Author Report Posted February 28, 2011 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 !
sukh Posted February 28, 2011 Report Posted February 28, 2011 Hi Can you post the exact error message and check the Event Logs too? Regards Sukh
wickit Posted February 28, 2011 Author Report Posted February 28, 2011 http://img27.imageshack.us/img27/4809/conflictg.png Nothing in event viewer Have stopped DFS service on both servers
sukh Posted February 28, 2011 Report Posted February 28, 2011 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
wickit Posted February 28, 2011 Author Report Posted February 28, 2011 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
sukh Posted February 28, 2011 Report Posted February 28, 2011 Hi Please use Download details: SubInACL (SubInACL.exe) and download the utility. The execute the following command: subinacl /onlyfile "\\?\c:\path_to_problem_file" /setowner=domain\administrator /grant=domain\administrator=F Where c:\path_to_problem_file is the path to the problem folder. Regards Sukh
wickit Posted February 28, 2011 Author Report Posted February 28, 2011 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
sukh Posted February 28, 2011 Report Posted February 28, 2011 Hi Can you try subinacl /subdirectories d:\staff\teachers\*.* /setowner=amesbury\administrator Then check the owner permissions on the folder? Regards Sukh
wickit Posted February 28, 2011 Author Report Posted February 28, 2011 OK lol that took a while anyway done that and still cant get permission on that darn folder
sukh Posted February 28, 2011 Report Posted February 28, 2011 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
wickit Posted February 28, 2011 Author Report Posted February 28, 2011 ok its sets new owner on "dfsrprivate" but still no access to conflictanddeleted
sukh Posted February 28, 2011 Report Posted February 28, 2011 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
wickit Posted February 28, 2011 Author Report Posted February 28, 2011 Done that, no change btw thanks for you help on this so far
sukh Posted February 28, 2011 Report Posted February 28, 2011 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
sukh Posted February 28, 2011 Report Posted February 28, 2011 Hi Can you dump the permissions and post? subinacl /subdirectories d:\staff\teachers\*.* /display. Regards Sukh
wickit Posted February 28, 2011 Author Report Posted February 28, 2011 ==================================== +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
sukh Posted February 28, 2011 Report Posted February 28, 2011 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
sukh Posted March 1, 2011 Report Posted March 1, 2011 (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 March 1, 2011 by sukh
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now