Created
December 18, 2024 02:47
-
-
Save katagaki/dd612bbc407f9f9f8378bdc62029d346 to your computer and use it in GitHub Desktop.
Fix `chown: /var/lib/postgresql/data/pgdata: Permission denied`
This file contains hidden or 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
echo From https://medium.com/dandelion-tutorials/how-to-fix-chown-permission-denied-issue-when-using-colima-on-mac-os-x-d925e420c875 | |
colima stop | |
cd ~/.colima/_lima/_config | |
mv {dir}/override.yaml override.yaml | |
colima delete | |
colima start --mount-type 9p |
This file contains hidden or 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
mountType: 9p | |
mounts: | |
- location: "/Users/{username}" | |
writable: true | |
9p: | |
securityModel: mapped-xattr | |
cache: mmap | |
- location: "~" | |
writable: true | |
9p: | |
securityModel: mapped-xattr | |
cache: mmap | |
- location: /tmp/colima | |
writable: true | |
9p: | |
securityModel: mapped-xattr | |
cache: mmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment