Jump to content
Sign in to follow this  
IanR

NTFS Permissions

Recommended Posts

It doesn't matter if you're admin or not to set permissions. If you have the permission to change the permissions you can do it. If you don't have permission you cannot do it even as an admin. The admin only has a way to reset these permissions. Also you don't have to care if it's local or remote. Only point when you're working remote: The share and directory permissions must grant you the permission to change them.

Your best bet is to use cacls.exe or xcacls.exe as command line tools provided by Microsoft (AFAIR cacls ships with NT4+) after creating the directory.

Share this post


Link to post
Share on other sites

Your best bet is to use cacls.exe

<{POST_SNAPBACK}>

I was thinking along those lines, reason I asked was mainly in case I'd overlooked a way of implementing it without resorting-to a command-prompt. (although that would be OK in fact as it only has to be done once per run, to one folder, so it would have negligible performance-impact.)

Other option might be a DLL-call, I guess. Have to check Technet to see what the call is, and if it's feasible.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...