pstein

Extraordinary Member
Joined
Mar 20, 2010
Messages
454
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
 

Solution
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.

Saltgrass

Excellent Member
Microsoft Community Contributor
Joined
Oct 16, 2009
Messages
15,155
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.
 

Solution