Determining File/Folder ownership WITHOUT taking ownership

  • Thread starter Thread starter derek.monaghan
  • Start date Start date
D

derek.monaghan

I have a problem in which I am moving data from one file server to the
next (using xcopy), yet some of the folders have had permissions
changed on them. I need to view the ownership of the folders before I
take ownership of them (production server) to move them. I know how to
take ownership, but when clicking on the security tab, I get the 'You
do not have permission to view or edit the current permission settings
for <folder> but you can take ownership or change auditing settings'

Is there any way I can determine who has ownership of the file/folder
before I take ownership?


TIA
 
To be more specific, I need to change the permissions to
move the folders using xcopy. In order to change the permissions, I
need to view the ownership of the folders before I take ownership.
 
Hi Derek,

I'm by no means an expert in this subject matter of ACLs, but since no one
has responded to your posting then I'll try to assist you to the best of my
ability.

Why not use a tool like Xcacls to do the job you're looking for, then script
it?

825751 How to use Xcacls.vbs to modify NTFS permissions
http://support.microsoft.com/default.aspx?scid=kb;EN-US;825751

RELATED KNOWLEDGE BASE ARTICLE(S):
310316 How permissions are handled when you copy and move files and folders
http://support.microsoft.com/default.aspx?scid=kb;EN-US;310316

323275 How to Use Robocopy to copy security information without copying any
file data
http://support.microsoft.com/default.aspx?scid=kb;EN-US;323275

--
Hope this helps,
________________________________
Mike Rosado | Beta System Engineer | Cluster Technologies
Hours: 8:00 AM - 5:00 PM Central (GMT-06:00)

====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/info/cpyright.htm


-----Original Message-----
 
I have a problem in which I am moving data from one file server to the
next (using xcopy), yet some of the folders have had permissions
changed on them. I need to view the ownership of the folders before I
take ownership of them (production server) to move them. I know how to
take ownership, but when clicking on the security tab, I get the 'You
do not have permission to view or edit the current permission settings
for <folder> but you can take ownership or change auditing settings'

Is there any way I can determine who has ownership of the file/folder
before I take ownership?


TIA


See tip 9521 » Own.bat returns the owner of a file or folder?
in the 'Tips & Tricks' at http://www.jsifaq.com

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
If you are an administrator, you should be able to click on the
"Advanced" button and select the "Owner" tab. At that point, you can
grab the ownership of the file/folder

Regards,
Hank Arnold
 
Back
Top