Folder sharing: Difference between "cacls" and "net share" ?

pstein

Extraordinary Member
#1
I want to specify from command line that user "Karl" has Full access to local folder (and subfolders)

D:\proj\logs

Which command is recommended here:

cacls or "net share"

What is the difference?

Is "net share" for folders the same as "cacls" for files?

Peter
 


Saltgrass

Excellent Member
Microsoft Community Contributor
#2
This is not my area of expertise, but one command (cacls) deals with permissions or user rights to a file, where the other is for sharing a file.

I suppose I would equate one to using a files security tab to change an owner or change permissions and the other to using the "Share With" on the context menu of a file.

If you open a command prompt and type the commands followed by /? you can see what type of options they have.
 


This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.
Top