-
-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: updated quick start guide with fix to permission issue on macOS. (
#10192) Added fix for certain permission issues with make
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -292,6 +292,30 @@ You need to remove the directory where you cloned the project, and clone the pro | |
# replace my-user-id with your user id if you forked the repository, otherwise use openfoodfacts | ||
git clone -c core.symlinks=true [email protected]:my-user-id/openfoodfacts-server.git | ||
``` | ||
### make dev error: open /.docker/buildx/current: permission denied | ||
On macOS | ||
When running `make dev`: | ||
```console | ||
docker compose --env-file=.env build 2>&1 | ||
open /.docker/buildx/current: permission denied | ||
make: *** [build] Error 1 | ||
openfoodfacts-server % | ||
``` | ||
|
||
**Solution:** | ||
Check for permissions by | ||
```console | ||
ls -la /.docker/buildx | ||
``` | ||
If there is a file that is not owned by user with root instead of USER: | ||
```console | ||
-rw------- 1 root staff 48 Apr 28 17:04 current | ||
``` | ||
Then Run | ||
```console | ||
sudo chown -R USER:USER /Users/USER/.docker/buildx | ||
``` | ||
Replacing USER with current user | ||
|
||
### 'rm' is not recognized as an internal or external command | ||
|
||
|