facebook / facebook/watchman

Watchman uses wrong prefix for state directory

Open
#963 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
13.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

I get the following error when running `watchman get-sockname`:

```
> watchman get-sockname
2021-09-18T10:10:14,827: [] while computing sockname: failed to create /usr/local/var/run/watchman/k-state: Permission denied`
```

Even though Watchman has been installed with a different prefix (`/Users/k/homebrew`, NOT `/usr/local`)

```
> which watchman
/Users/k/homebrew/bin/watchman
```

This seems to be a recent issue because it used to work before. I'm not sure if issue is with Watchman or with its Homebrew formula.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.