Lines Matching defs:file

10  *		-h displaying hexadecimal security descriptors within a file
19 * ntfssecaudit -h [file]
20 * display the security descriptors found in file
23 * ntfssecaudit [-v] volume file
24 * display the security parameters of file
32 * ntfssecaudit volume perms file
33 * set the security parameters of file to perms (mode or acl)
37 * ntfssecaudit [-v] mounted-file
38 * display the security parameters of mounted file
39 * ntfssecaudit -u[v] mounted-file
43 * On Windows (the volume being part of file name)
44 * ntfssecaudit -h [file]
45 * display the security descriptors found in file
48 * ntfssecaudit [-v] file
49 * display the security parameters of file
57 * ntfssecaudit perms file
58 * set the security parameters of file to perms (mode or acl)
76 * - avoided consistency checks on $Secure when there is no such file
99 * - processed Unicode file names and displayed them as UTF-8
100 * - allocated dynamically memory for file names when recursing
137 * - enabled displaying attributes of a mounted file over Linux
149 * - fixed displaying owner and group of a mounted file over Linux
152 * - fixed again displaying owner and group of a mounted file over Linux
221 * - fixed displaying "UserMapping" as a file name
246 * distribution in the file COPYING); if not, write to the Free Software
347 #define BUFSZ 1024 /* buffer size to read mapping file */
485 * Dummy mapping file (self tests only)
863 * Print a file name
867 static void printname(FILE *file, const char *name)
879 fprintf(file,"%s", wname);
883 fprintf(file,"%s",name);
891 static void printerror(FILE *file)
894 fprintf(file,"Error code %d : %s\n",errno,strerror(errno));
897 fprintf(file,"You probably need Administrator rights\n");
900 fprintf(file,"You probably try to write to a mounted device\n");
1330 printf("%*cAdd file\n",-level-8,marker);
1776 * Basic read from a user mapping file (Win32)
1788 * Read a dummy mapping file for tests
1850 * - according to a mapping file if defined (or default present),
1910 /* build a full path to locate the mapping file */
1935 printf("** Could not find the user mapping file\n");
1937 printf(" Retry with full path of file\n");
2065 * Display security descriptors from a file
2125 (isdir ? "directory" : "file"));
2270 * Restore security descriptors from a file
2333 printf(" Estimated type : %s\n",(isdir ? "directory" : "file"));
2388 * New file or directory (or end of file) :
2410 /* save current file or directory name */
3212 /* file owned by plain user and group */
3652 * Get the security descriptor of a file
3801 * Set all the parameters associated to a file
4048 printf("# being a directory of the root of the NTFS file system.\n");
4050 /* Get the drive letter to the file system */
4066 printf("# being a hidden subdirectory of the root of the NTFS file system.\n");
4068 /* Get the path to the root of the file system */
4107 * Display all the parameters associated to a file
4145 printf("** Could not get file attrib\n");
4386 * Display all the parameters associated to a mounted file
4424 printf("** Could not get file attrib\n");
4482 printf("** Could not get the NTFS ACL, check whether file is on NTFS\n");
4519 printf("** Could not get the NTFS ACL, check whether file is on NTFS\n");
4777 printf("\nRecursive file check\n");
5071 printf("Assuming %s descriptor\n",(isdir ? "directory" : "file"));
5507 (cnt > 1 ? "files" : "file"));
5525 (cnt > 1 ? "files" : "file"));
5961 fprintf(stderr," ntfssecaudit -h [file]\n");
5962 fprintf(stderr," display security descriptors within file\n");
5965 fprintf(stderr," ntfssecaudit [-v] file\n");
5966 fprintf(stderr," display the security parameters of file\n");
5972 fprintf(stderr," set the security parameters as indicated in backup file\n");
5974 fprintf(stderr," ntfssecaudit perms file\n");
5975 fprintf(stderr," set the security parameters of file to perms\n");
5978 fprintf(stderr," ntfssecaudit -u file\n");
5979 fprintf(stderr," get a user mapping proposal applicable to file\n");
5993 fprintf(stderr," ntfssecaudit -h [file]\n");
5994 fprintf(stderr," display security descriptors within file\n");
5997 fprintf(stderr," ntfssecaudit [-v] volume file\n");
5998 fprintf(stderr," display the security parameters of file\n");
6004 fprintf(stderr," set the security parameters as indicated in backup file\n");
6006 fprintf(stderr," ntfssecaudit volume perms file\n");
6007 fprintf(stderr," set the security parameters of file to perms\n");
6012 fprintf(stderr," ntfssecaudit -u mounted-file\n");
6013 fprintf(stderr," get a user mapping proposal applicable to mounted file\n");
6014 fprintf(stderr," ntfssecaudit [-v] mounted-file\n");
6015 fprintf(stderr," display the security parameters of a mounted file\n");
6045 * Split a Windows file designator into volume and fullpath