Searched refs:run_dir (Results 1 – 1 of 1) sorted by relevance
641 char *run_dir = "/var/run/in.lpd"; in main() local654 run_dir = optarg; in main()666 if (run_dir != NULL) { /* setup the run_dir */ in main()667 (void) mkdir(run_dir, 0700); in main()669 (void) chown(run_dir, pw->pw_uid, pw->pw_gid); in main()680 if (run_dir != NULL) /* move to the run_dir */ in main()681 if (chdir(run_dir) < 0) { in main()682 syslog(LOG_DEBUG, "failed to chdir(%s)", run_dir); in main()