Skip to content

Commit

Permalink
launchd: actually fix the permissions on the right file
Browse files Browse the repository at this point in the history
🤦
  • Loading branch information
wez committed Mar 31, 2015
1 parent ed148a4 commit 81507da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ static void spawn_via_launchd(void)
watchman_path, log_name, sock_name, watchman_state_file, sock_name);
fclose(fp);
// Don't rely on umask, ensure we have the correct perms
chmod(watchman_path, 0644);
chmod(plist_path, 0644);

append_argv(argv, plist_path);

Expand Down

0 comments on commit 81507da

Please sign in to comment.