Sign in to follow this  
Followers 0
steve8tch

NTFS File Owner

2 posts in this topic

getowner.cSome time ago this question was discussed.

NTFS Ownership and ACLs

I have found SubInAcl impossible to use with StdOutRead.

I have found this other utility called GetOwner.exe

GetOwner - a small 20k utility

It just does what it says - nothing fancy - and I can pick up the result in StdOutRead.

Does anyone fancy a challenge. ....a UDF perhaps.. :whistle:

The source code for this is available

It calls "GetNamedSecurityInfo" and "LookupAccountSid"

These should be available through DllCall("advapi32.dll",.......) - I'm just not up to speed yet on all this dll stuff :)

Attached is GetOwner.c

getowner.c

Share this post


Link to post
Share on other sites



we are autoit programmers , Not c :whistle:


-jaenster

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0