Changed semantics of --no-perm-on-create
flag
This commit is contained in:
20
src/main.c
20
src/main.c
@@ -31,11 +31,12 @@ int main(int argc, char *argv[]) {
|
||||
if (argc < 3) {
|
||||
fprintf(stderr, "Usage: icfs <FUSE arguments> [target directory] [path to "
|
||||
"the permanent permissions database] <ICFS "
|
||||
"arguments>\n\t--no-perm-on-create - reqire access "
|
||||
"permissions to create new files "
|
||||
"(incompatible with --perm-on-create)\n\t--perm-on-create "
|
||||
"- give permanent permissions to files a process creates "
|
||||
"automatically (incompatible with --no-perm-on-create)\n");
|
||||
"arguments>\n\t--no-perm-on-create - do not give any "
|
||||
"access permissions on file creation"
|
||||
"(incompatible with --temp-on-create)\n\t--perm-on-create "
|
||||
"- automatically give permanent access permission to files "
|
||||
"a process creates "
|
||||
"(incompatible with --no-perm-on-create)\n");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
@@ -45,11 +46,12 @@ int main(int argc, char *argv[]) {
|
||||
0 == strcmp(argv[argc - 1], "--temp-on-create"))) {
|
||||
fprintf(stderr, "Usage: icfs <FUSE arguments> [target directory] [path to "
|
||||
"the permanent permissions database] <ICFS "
|
||||
"arguments>\n\t--no-perm-on-create - reqire access "
|
||||
"permissions to create new files"
|
||||
"arguments>\n\t--no-perm-on-create - do not give any "
|
||||
"access permissions on file creation"
|
||||
"(incompatible with --temp-on-create)\n\t--perm-on-create "
|
||||
"- give permanent permissions to files a process creates "
|
||||
"automatically (incompatible with --no-perm-on-create)\n");
|
||||
"- automatically give permanent access permission to files "
|
||||
"a process creates "
|
||||
"(incompatible with --no-perm-on-create)\n");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user