| From: | "Andras Simon" <szajmi(at)gmail(dot)com> |
|---|---|
| To: | "Douglas McNaught" <doug(at)mcnaught(dot)org> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Permission problem with create tablespace |
| Date: | 2006-10-17 01:44:02 |
| Message-ID: | 9008cd5d0610161844j2cddf455pba00dab33d454687@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 10/17/06, Douglas McNaught <doug(at)mcnaught(dot)org> wrote:
> "Andras Simon" <szajmi(at)gmail(dot)com> writes:
>
> > I'm trying to create a new tablespace in a directory that postgres
> > owns, but PG says it cannot set permissions on this directory.
>
> ...
>
> > This is on Fedora Core 5 (x86), psql 8.1.4.
>
> SELinux, most likely.
That's it!
Oct 17 02:58:57 localhost kernel: audit(1161046737.127:24): avc: denied { setattr } for pid=21374 comm="postmaster" name="mspace" dev=hdb6 ino=2424835 scontext=system_u:system_r:postgresql_t:s0 tcontext=user_u:object_r:usr_t:s0 tclass=dir
Thanks,
Andras
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andras Simon | 2006-10-17 01:53:41 | Re: Permission problem with create tablespace |
| Previous Message | Tom Lane | 2006-10-17 01:36:58 | Re: Permission problem with create tablespace |