Forcing ownership of files

C

Cameron Biggart

Hi

I know that I can 'take' ownership of a file/folder as administrator but
how do I give ownership of a file that was copied from one server to
another by administrator back to the person who created it on the original
server. I guess I'm asking is there a Windows equivalent of the unix chown
command that would set the owner/creator of a file to a specified user.

I need to do this for 80 directories each with multiple subdirectories in a
'users' share of the drive. For security I set permissions to
'creator_owner' & 'domain administrators' to 'full control' and removed the
access for the 'everyone' group but now people are not able to access files
that don't show them as creator/owner (as would be expected).
 
M

Marc Scheuner

I guess I'm asking is there a Windows equivalent of the unix chown
command that would set the owner/creator of a file to a specified user.

Check out those tools here:

Get and Set File Ownership from the Command Line
http://peter.verhas.com/progs/c/nt/owner/

chown
http://www.hamiltonlabs.com/UserGuide/Utilities/chown.htm

chown by Alexander Frink
http://wwwthep.physik.uni-mainz.de/~frink/chown/readme.html

Marc
================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top