ewmscp
..
|
This tool sets the ACLs of the files given on the command line to those they would inherit from theirparent directories. Directories given on the command line are left unchanged, but all their content is recursively scanned and the ACLs of all their sub-directories and files are set as if freshly inherited. More...
Functions | |
void | checkAcl (const std::string &path) |
void | handleDir (const std::string &path) |
int | main (int argc, const char *argv[]) |
Variables | |
static unsigned long | nDirs = 0 |
static unsigned long | nFiles = 0 |
static options::single< size_t > | maxGoodEntries ('n',"maxGoodEntries", "maximum number of aces in an acl considered good", 14) |
static options::single< size_t > | minGoodEntries ('m',"minGoodEntries", "minimum number of aces in an acl considered good", 0) |
static std::map< size_t, unsigned long > | aclLength |
static std::map< size_t, unsigned long > | multiples |
This tool sets the ACLs of the files given on the command line to those they would inherit from theirparent directories. Directories given on the command line are left unchanged, but all their content is recursively scanned and the ACLs of all their sub-directories and files are set as if freshly inherited.
void checkAcl | ( | const std::string & | path | ) |
Definition at line 35 of file checkGpfsAcls.cpp.
References aclLength, maxGoodEntries, minGoodEntries, and multiples.
Referenced by handleDir(), and main().
void handleDir | ( | const std::string & | path | ) |
Definition at line 56 of file checkGpfsAcls.cpp.
References checkAcl(), nDirs, and nFiles.
Referenced by main().
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 85 of file checkGpfsAcls.cpp.
References aclLength, checkAcl(), throwcall::good0(), handleDir(), multiples, nDirs, and nFiles.
|
static |
Definition at line 31 of file checkGpfsAcls.cpp.
Referenced by checkAcl(), and main().
|
static |
Referenced by checkAcl().
|
static |
Referenced by checkAcl().
|
static |
Definition at line 32 of file checkGpfsAcls.cpp.
Referenced by checkAcl(), and main().
|
static |
Definition at line 24 of file checkGpfsAcls.cpp.
Referenced by handleDir(), and main().
|
static |
Definition at line 25 of file checkGpfsAcls.cpp.
Referenced by handleDir(), and main().