"Michael B. Smith" <[EMAIL PROTECTED]> wrote on 09/08/2008
01:54:59 PM:
> Takes about 10 minutes to process locally. I suspect you aren?t
> waiting long enough.
Really? 10 minutes for 1 directory? Just to display ownership?
I have a few dozen folders I need to eventually take ownership of, and
move to somewhere else.
That'll take forever ... I may have to rethink doing it in a script. I
think you can feed SubInACL a file full of folders names to work on ...
perhaps I'll write the affected list of folders; start SubInACL on that
list .. and come back tomorrow. :-)
I did notice that specifying "/file" made it return immediately:
=================================
subinacl.exe /file \\server\users\username /display=owner
+File \\server\users\username
/owner =domain\username
Elapsed Time: 00 00:00:00
Done: 1, Modified 0, Failed 0, Syntax errors 0
Last Done : \\server\users\username
Z:\PHA Scripts>subinacl.exe /file \\server\users\username /display
==================================
+File \\server\users\username
==================================
/control=0x0
/owner =domain\username
/primary group =domain\domain users
/audit ace count =0
/perm. ace count =2
/pace =domain\username 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-0x20
FILE_DELETE_CHILD-0x40
FILE_READ_ATTRIBUTES-0x80 FILE_WRITE_ATTRIBUTES-0x100
DELETE-0x10000 READ_CONTROL-0x20000
WRITE_DAC-0x40000 WRITE_OWNER-0x80000
SYNCHRONIZE-0x100000
/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-0x20
FILE_DELETE_CHILD-0x40
FILE_READ_ATTRIBUTES-0x80 FILE_WRITE_ATTRIBUTES-0x100
DELETE-0x10000 READ_CONTROL-0x20000
WRITE_DAC-0x40000 WRITE_OWNER-0x80000
SYNCHRONIZE-0x100000
Elapsed Time: 00 00:00:00
Done: 1, Modified 0, Failed 0, Syntax errors 0
Last Done : \\server\users\username
========================================
Perhaps it's a matter of using "/file" when referring to the subdirectory
itself, as opposed to the subdirectory and all it's contents?
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~