hjwp / hjwp/Book-TDD-Web-Dev-Python

chapter 10 Using UIDs to Set Permissions Across Host/Container Mounts : django.db.utils.OperationalError: unable to open database file

Open
#388 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
514
Forks
175
PR merge metrics
No merged PRs in 30d

Description

in windows 10:
When file(db.sqlite3) is mounted into the container, its owner and group are root.I tried to modify the owner and group with root privileges,And grant 'rwx' permissions. then execute the migrate command, but it prompted

> 'django.db.utils.OperationalError: unable to open database file'

I tried a more violent method, directly using root to execute the migrate command, but the same error occurred.

Currently, I don't have any new methods and hope to receive help.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.