meanio文件服务器拒绝,的Postgres不能访问服务器配置文件:权限被拒绝

这莫名其妙我(试图建立的Postgres在MacOS狮子):的Postgres不能访问服务器配置文件:权限被拒绝

delirium:$ sudo ls -al /usr/local/pgsql/data/

total 64

drwx------ 15 postgres postgres 510 25 May 10:36 .

[email protected] 13 103 103 442 25 May 10:35 ..

-rw------- 1 postgres postgres 4 25 May 10:36 PG_VERSION

drwx------ 5 postgres postgres 170 25 May 10:36 base

drwx------ 41 postgres postgres 1394 25 May 10:36 global

drwx------ 3 postgres postgres 102 25 May 10:36 pg_clog

-rw------- 1 postgres postgres 3652 25 May 10:36 pg_hba.conf

-rw------- 1 postgres postgres 1631 25 May 10:36 pg_ident.conf

drwx------ 4 postgres postgres 136 25 May 10:36 pg_multixact

drwx------ 2 postgres postgres 68 25 May 10:36 pg_stat_tmp

drwx------ 3 postgres postgres 102 25 May 10:36 pg_subtrans

drwx------ 2 postgres postgres 68 25 May 10:36 pg_tblspc

drwx------ 2 postgres postgres 68 25 May 10:36 pg_twophase

drwx------ 4 postgres postgres 136 25 May 10:36 pg_xlog

-rwxr-xr-x 1 postgres postgres 16879 25 May 10:36 postgresql.conf

delirium:$ /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data

postgres cannot access the server configuration file "/usr/local/pgsql/data/postgresql.conf": Permission denied

不输出显示,Postgres的是postgresql.conf的所有者 ?那么为什么它不能访问该文件?

我该怎么办?

2012-05-25

flossfan

+0

这是一个超级用户或ServerFault问题,而不是StackOverflow的一个... –

+0

对不起,我可以迁移至ServerFault如果你喜欢... –

+0

你执行命令为user = postgres? –

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值