Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Object Ownership won't transcend tree


  • Please log in to reply
3 replies to this topic

#1 Joombaga

Joombaga

  • Members
  • 50 posts
  • OFFLINE
  •  
  • Location:Big Rapids, Michigan, United States
  • Local time:07:17 AM

Posted 24 February 2009 - 11:43 AM

I am attempting to take ownership of files using the following steps in Windows XP Professional SP3:

1. I open the Security Properties tab by right-clicking on the folder, clicking Properties, and clicking the tab labeled Security.
2. I click the Advanced button. The Advanced Security Settings window opens.
3. In the new window, I click the Owner tab.
4. I select the Administrators group by selecting Administrators (COMPUTERNAME\Administrators) in the list.
5. I tick Replace owner on subcontainers and objects.
6. I click OK to dismiss the Advanced Security Settings window.
7. I click OK to dismiss the Properties window.

This grants me ownership of the folder for which I'm opening the properties window, but not the folders or files beneath it, which I would like as well. I can set the security properties on each object and subcontainer individually, but I would like to do it all at once.

First post BTW.

Edited by Joombaga, 24 February 2009 - 11:46 AM.


BC AdBot (Login to Remove)

 


#2 usasma

usasma

    Still visually handicapped (avatar is memory developed by my Dad


  • BSOD Kernel Dump Expert
  • 25,089 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Southeastern CT, USA
  • Local time:08:17 AM

Posted 24 February 2009 - 12:06 PM

I had this problem on earlier versions of XP, but it seems to be working better now.
Are you up to date on Windows Updates?

In the "old days" it was common to have to burrow your way down through the directory structure because Windows was a bit flakey about applying permissions/ownership.
Another way is to use cacls or xcacls to change the permissions (but I haven't used those tools in a long, long time).
My browser caused a flood of traffic, sio my IP address was banned. Hope to fix it soon. Will get back to posting as soon as Im able.

- John  (my website: http://www.carrona.org/ )**If you need a more detailed explanation, please ask for it. I have the Knack. **  If I haven't replied in 48 hours, please send me a message. My eye problems have recently increased and I'm having difficult reading posts. (23 Nov 2017)FYI - I am completely blind in the right eye and ~30% blind in the left eye.<p>If the eye problems get worse suddenly, I may not be able to respond.If that's the case and help is needed, please PM a staff member for assistance.

#3 Joombaga

Joombaga
  • Topic Starter

  • Members
  • 50 posts
  • OFFLINE
  •  
  • Location:Big Rapids, Michigan, United States
  • Local time:07:17 AM

Posted 24 February 2009 - 12:15 PM

Yeah, I'm up to date on Windows Updates. I did try cacls, but without the /T flag, it seems to only do the one folder. With the /T flag, I get an Access Denied" message at the end, after a bunch of "processing directory" lines. I'm not familiar with xcacls, but I'll look it up.

This could be useful to other people viewing this topic:
How to use Xcacls.vbs to modify NTFS permissions: http://support.microsoft.com/kb/825751

Edited by Joombaga, 24 February 2009 - 12:32 PM.


#4 Joombaga

Joombaga
  • Topic Starter

  • Members
  • 50 posts
  • OFFLINE
  •  
  • Location:Big Rapids, Michigan, United States
  • Local time:07:17 AM

Posted 24 February 2009 - 02:20 PM

Here's my XCACLS output:

F:\>xcacls "Documents and Settings" /T /P Administrators:F;D
Microsoft Windows Script Host Version 5.7
Copyright Microsoft Corporation. All rights reserved.

Starting XCACLS.VBS (Version: 5.2) Script at 2/24/2009 12:47:13 PM

Startup directory:
"F:\"

Arguments Used:
Filename = "Documents and Settings"
/T (Traverse Directories)
/P (Replace rights)
Administrators:F;D


- Changing /P user/group: "Administrators" to "BUILTIN\Administrators"

**************************************************************************
Directory: F:\Documents and Settings
Replacing NTFS rights (F access for Files Only) for "BUILTIN\Administrators"
Replacing NTFS rights (D access for This Folder Only) for "BUILTIN\Administrator
s"
Completed successfully.
**************************************************************************
Error 70: occurred while in the DoTheWorkOnEverythingUnderDirectory routine. (M
sg#204)
Error description: Permission denied


Operation Complete
Elapsed Time: 18.59375 seconds.

Ending Script at 2/24/2009 12:47:31 PM



Any thoughts?

Edited by Joombaga, 24 February 2009 - 02:21 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users