Home | History | Annotate | Download | only in cron

Lines Matching refs:directory

7 /* Check directory Access */
8 int check_directory_access(char *directory)
13 printf("Checking %s\n", directory);
15 if (stat(directory, &statbuf) == -1) {
16 printf("FAIL: %s. Could not obtain directory status\n",
17 directory);
22 printf("FAIL: %s. Invalid owner\n", directory);
27 printf("FAIL: %s. Invalid write access\n", directory);
31 printf("PASS: %s\n", directory);
39 printf("Please enter target directory");