ReactOS 0.4.16-dev-338-g34e76ad
|
#include "precomp.h"
Go to the source code of this file.
Functions | |
static VOID | PrintError (DWORD dwError) |
static BOOL | PrintFileDacl (IN LPTSTR FilePath, IN LPTSTR FileName) |
static VOID | AddBackslash (LPTSTR FilePath) |
static BOOL | GetPathOfFile (LPTSTR FilePath, LPCTSTR pszFiles) |
static BOOL | PrintDaclsOfFiles (LPCTSTR pszFiles) |
static BOOL | GrantUserAccessRights (LPCTSTR FilePath, LPCTSTR File, LPCTSTR User, TCHAR Perm) |
static BOOL | ReplaceUserAccessRights (LPCTSTR FilePath, LPCTSTR File, LPCTSTR User, TCHAR Perm) |
static BOOL | EditUserAccessRights (LPCTSTR FilePath, LPCTSTR File, LPCTSTR User, TCHAR Perm) |
static BOOL | DenyUserAccess (LPCTSTR FilePath, LPCTSTR File, LPCTSTR User) |
static BOOL | RevokeUserAccessRights (LPCTSTR FilePath, LPCTSTR File, LPCTSTR User) |
static BOOL | ChangeFileACL (LPCTSTR FilePath, LPCTSTR File) |
static BOOL | ChangeACLsOfFiles (LPCTSTR pszFiles) |
static BOOL | ChangeACLsOfFilesInCurDir (LPCTSTR pszFiles) |
int | _tmain (int argc, const TCHAR *argv[]) |
Variables | |
BOOL | OptionT = FALSE |
BOOL | OptionE = FALSE |
BOOL | OptionC = FALSE |
BOOL | OptionG = FALSE |
BOOL | OptionR = FALSE |
BOOL | OptionP = FALSE |
BOOL | OptionD = FALSE |
LPCTSTR | GUser |
LPCTSTR | GPerm |
LPCTSTR | RUser |
LPCTSTR | PUser |
LPCTSTR | PPerm |
LPCTSTR | DUser |
static GENERIC_MAPPING | FileGenericMapping |
Definition at line 743 of file cacls.c.
Definition at line 363 of file cacls.c.
Referenced by ChangeACLsOfFilesInCurDir(), and GetPathOfFile().
Definition at line 589 of file cacls.c.
Referenced by _tmain().
Definition at line 644 of file cacls.c.
Referenced by _tmain(), and ChangeACLsOfFilesInCurDir().
Definition at line 551 of file cacls.c.
Referenced by ChangeACLsOfFiles(), and ChangeACLsOfFilesInCurDir().
Definition at line 537 of file cacls.c.
Referenced by ChangeFileACL().
|
static |
Definition at line 511 of file cacls.c.
Referenced by ChangeFileACL().
Definition at line 372 of file cacls.c.
Referenced by ChangeACLsOfFiles(), and PrintDaclsOfFiles().
|
static |
Definition at line 465 of file cacls.c.
Referenced by ChangeFileACL().
Definition at line 405 of file cacls.c.
Referenced by _tmain().
Definition at line 37 of file cacls.c.
Referenced by _tmain(), ChangeACLsOfFiles(), ChangeACLsOfFilesInCurDir(), GetPathOfFile(), and PrintDaclsOfFiles().
Definition at line 47 of file cacls.c.
Referenced by PrintDaclsOfFiles().
|
static |
Definition at line 485 of file cacls.c.
Referenced by ChangeFileACL().
Definition at line 544 of file cacls.c.
Referenced by ChangeFileACL().
LPCTSTR DUser |
Definition at line 25 of file cacls.c.
Referenced by _tmain(), and ChangeFileACL().
|
static |
Definition at line 27 of file cacls.c.
Referenced by PrintFileDacl().
LPCTSTR GPerm |
Definition at line 25 of file cacls.c.
Referenced by _tmain(), and ChangeFileACL().
LPCTSTR GUser |
Definition at line 25 of file cacls.c.
Referenced by _tmain(), and ChangeFileACL().
Definition at line 23 of file cacls.c.
Referenced by _tmain(), ChangeACLsOfFiles(), ChangeACLsOfFilesInCurDir(), and PrintDaclsOfFiles().
Definition at line 24 of file cacls.c.
Referenced by _tmain(), and ChangeFileACL().
Definition at line 23 of file cacls.c.
Referenced by _tmain(), and ChangeFileACL().
Definition at line 24 of file cacls.c.
Referenced by _tmain(), and ChangeFileACL().
Definition at line 24 of file cacls.c.
Referenced by _tmain(), and ChangeFileACL().
Definition at line 24 of file cacls.c.
Referenced by _tmain(), and ChangeFileACL().
LPCTSTR PPerm |
Definition at line 25 of file cacls.c.
Referenced by _tmain(), and ChangeFileACL().
LPCTSTR PUser |
Definition at line 25 of file cacls.c.
Referenced by _tmain(), and ChangeFileACL().
LPCTSTR RUser |
Definition at line 25 of file cacls.c.
Referenced by _tmain(), and ChangeFileACL().