Changeset 42728 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Aug 9, 2012 7:16:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceToolBox.cpp
r42727 r42728 138 138 " mktemp <general options> [--directory|-d] [--secure|-s]\n" 139 139 " [--mode|-m <mode>] <template>\n" 140 " mkdir <general options> [--mode|-m ] [--parents|-p]\n"140 " mkdir <general options> [--mode|-m <mode>] [--parents|-p]\n" 141 141 " [--verbose|-v] <directory>...\n" 142 142 " stat <general options> [--file-system|-f]\n" … … 1331 1331 " <directory>...\n\n" 1332 1332 "Options:\n\n" 1333 " [--mode =<mode>|-m <mode>]The file mode to set (chmod) on the created\n"1333 " [--mode|-m <mode>] The file mode to set (chmod) on the created\n" 1334 1334 " directories. Default: a=rwx & umask.\n" 1335 1335 " [--parents|-p] Create parent directories as needed, no\n" … … 1378 1378 1379 1379 case 'm': 1380 rc = RTStrToUInt32Ex(ValueUnion.psz, NULL, 8 /* Base */, &fDirMode); 1381 if (RT_FAILURE(rc)) /* Only octet based values supported right now! */ 1382 return RTMsgErrorExit(RTEXITCODE_SYNTAX, 1383 "Mode flag strings not implemented yet! Use octal numbers instead. (%s)\n", 1384 ValueUnion.psz); 1380 rc = vboxServiceToolboxParseMode(ValueUnion.psz, &fDirMode); 1381 if (RT_FAILURE(rc)) 1382 return RTEXITCODE_SYNTAX; 1385 1383 #ifndef RT_OS_WINDOWS 1386 1384 umask(0); /* RTDirCreate workaround */
Note:
See TracChangeset
for help on using the changeset viewer.