Transfer File Ownership using xcacls?

G

Guest

I need to transfer ownership on some files, from the administrator, to a
particular user.

I think that I can give the user the right to take ownership, using this:

xcacls " path & filename" /G user:O;T (if I have it right!)

Anyway, as I said, what I really need to to do is transfer the ownership to
the user, not enable him or her to take ownership. Can anyone tell me how to
do this?
 
B

Barry

F Laufs said:
I need to transfer ownership on some files, from the administrator, to a
particular user.

I think that I can give the user the right to take ownership, using this:

xcacls " path & filename" /G user:O;T (if I have it right!)

Anyway, as I said, what I really need to to do is transfer the ownership
to
the user, not enable him or her to take ownership. Can anyone tell me how
to
do this?

use 'subinacl'
 
R

Roger Abell

Also, although cacls/xcacls is not the tool for you to use this time,
when you do use remember that very often, as with examply you
posted, you should be certain to remember to include /e switch
 
S

Steven L Umbach

J

Jorge_de_Almeida_Pinto

I need to transfer ownership on some files, from the
administrator, to a
particular user.

I think that I can give the user the right to take ownership,
using this:

xcacls " path & filename" /G user:O;T (if I have it right!)

Anyway, as I said, what I really need to to do is transfer the
ownership to
the user, not enable him or her to take ownership. Can anyone
tell me how to
do this?

To GRANT the ownership you need (if my memory serves me right)
* full control permission on the file or dir
* user right "restore files and directories"
 

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