这里,sudo用于以root用户身份执行命令,chown -R postgres:postgres表示递归地将目录及其内部的所有文件和子目录的所有者和所属组都更改为postgres。 4. 验证更改 更改所有权后,再次使用ls -ld /var/lib/postgresql/data命令来验证更改是否成功。 5. 确保PostgreSQL服务可以访问该目录 最后,确保PostgreSQL服务正在运行,...
On Windows 10 is always failed while docker-compose up: version: "3" services: db: image: postgres:11.2 environment: - POSTGRES_USER=test - POSTGRES_PASSWORD=test - POSTGRES_DB=test volumes: - ./postgres-data:/var/lib/postgresql/data por...
As of docker-library/postgres#253, this image supports running as a (mostly) arbitrary user via --user on docker run. The main caveat to note is that postgres doesn’t care what UID it runs as (as long as the owner of /var/lib/postgresql/data matches), but initdb does care (an...
lnpp-postgresql | HINT: The server must be started by the user that owns the data directory. lnpp-postgresql | FATAL: data directory "/var/lib/postgresql/data" has wrong ownership lnpp-postgresql | HINT: The server must be started by the user that owns the data directory. lnpp-postgresql ...
A postgresql database to stock mlflow info. When I try to run docker-compose build and up, I get the classical“data directory “/var/lib/postgresql/data” has wrong ownership” that happened on Windows, but I’m running it on Linux and I can’t find the cause. Please, find docker...
问错误: PostgreSQL Kubernetes数据目录"/var/lib/postgresql/ data“具有错误的所有权窗口EN1、我们都...
Issue Following error is logged in/var/log/secureon runningsudoas AD user: Raw Oct 5 13:53:06 rhel7 sudo: pam_sss(sudo:auth): Request to sssd failed. Public socket has wrong ownership or permissions. Oct 5 13:53:12 rhel7 sudo: aduser : 2 incorrect password attempts ; TTY=pts/4 ...
Expected behavior Persist Postgres data in my host so data won't be deleted every time I run a container. Actual behavior db_1 | FATAL: data directory "/var/lib/postgresql/data/pgdata" has wrong ownership db_1 |…
Expected behavior Persist Postgres data in my host so data won't be deleted every time I run a container. Actual behavior db_1 | FATAL: data directory "/var/lib/postgresql/data/pgdata" has wrong ownership db_1 |…
One-line summary (optional) When building, postgresql container gives the error: data directory "/var/lib/postgresql/data" has wrong ownership Steps to Reproduce Run make or make all ** Include specs (OS, Python version, code commit hash...