diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/sdktools/cacls/sdk | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/sdktools/cacls/sdk')
-rw-r--r-- | private/sdktools/cacls/sdk/cacls.rc | 13 | ||||
-rw-r--r-- | private/sdktools/cacls/sdk/makefile | 30 | ||||
-rw-r--r-- | private/sdktools/cacls/sdk/readme.txt | 30 |
3 files changed, 73 insertions, 0 deletions
diff --git a/private/sdktools/cacls/sdk/cacls.rc b/private/sdktools/cacls/sdk/cacls.rc new file mode 100644 index 000000000..0843c24e0 --- /dev/null +++ b/private/sdktools/cacls/sdk/cacls.rc @@ -0,0 +1,13 @@ +#include <windows.h> + +#define VER_FILETYPE VFT_APP + +#define VER_FILESUBTYPE VFT2_UNKNOWN + +#define VER_FILEDESCRIPTION_STR "Control ACLs Program" +#define VER_INTERNALNAME_STR "cacls" +#define VER_ORIGINALFILENAME_STR "CACLS.EXE" + +#include "caclsmsg.rc" + + diff --git a/private/sdktools/cacls/sdk/makefile b/private/sdktools/cacls/sdk/makefile new file mode 100644 index 000000000..0c42672d7 --- /dev/null +++ b/private/sdktools/cacls/sdk/makefile @@ -0,0 +1,30 @@ +!include <ntwin32.mak> + +all: cacls.exe + +caclsmsg.h caclsmsg.rc msg00001.bin: caclsmsg.mc + mc -v caclsmsg.mc + +cacls.res: caclsmsg.rc msg00001.bin cacls.rc + rc -r -fo cacls.res cacls.rc + +.cxx.obj: + $(cc) $(cdebug) $(cflags) $(cvars) -I. -DFLAT -DUNICODE -D_UNICODE $*.cxx + +cacls.exe: cacls.res \ + accacc.obj \ + account.obj \ + daclwrap.obj \ + dumpsec.obj \ + fileenum.obj \ + filesec.obj \ + t2.obj + $(link) $(linkdebug) $(conflags) -machine:$(CPU) -out:$*.exe $** $(conlibs) +!IF ("$(TARGETLANG)" == "LANG_JAPANESE") && ("$(OS)" == "Windows_NT") + rlman -p 932 -n 17 1 -a $*.exe $*.tok $*.exe +!ENDIF + + + +clean: + del *.obj *.res caclsmsg.h caclsmsg.rc msg00001.bin diff --git a/private/sdktools/cacls/sdk/readme.txt b/private/sdktools/cacls/sdk/readme.txt new file mode 100644 index 000000000..11471bd00 --- /dev/null +++ b/private/sdktools/cacls/sdk/readme.txt @@ -0,0 +1,30 @@ +Display or Modify Access Control Lists (ACLS) of Files + + +The CACLS tool displays or modifies the ACLs of files. + +Usage: + +CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user] [/P user:perm] + [/D user] + +filename Displays ACLs. +/T Changes ACLs of specified files in the current + directory and all subdirectories. +/E Edit ACL instead of replacing it. +/C Continue on access denied errors. + +/G user:perm Grant specified user access rights. + Perm can be: R Read + C Change (write) + F Full control +/R user Revoke specified user's access rights. +/P user:perm Replace specified user's access rights. + Perm can be: N None + R Read + C Change (write) + F Full control +/D user Deny specified user access. + +Wildcards can be used to specify more that one file in a command. You can +specify more than one user in a command. |