Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] mode of libs

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: lockhart(at)alumni(dot)caltech(dot)edu (Thomas G(dot) Lockhart)
Cc: vadim(at)sable(dot)krasnoyarsk(dot)su, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] mode of libs
Date: 1998-02-26 04:13:18
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
> Well, the data directory itself is protected from anyone other than the postgres
> account, so it may not matter as much if an individual file is not right. My (former)
> Ingres installation had the directory protected, and then permissions of 777 on all the
> directories and files within it as I recall...
> We should fix it up to match the protections on other files though...

Not true.  As long as someone has read or execute permission on a
directory, they can read/write any file in that directory they have
permission for.  What they can't do is add or delete file based on the
directory permission.

Bruce Momjian                          |  830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

In response to


pgsql-hackers by date

Next:From: Brett McCormickDate: 1998-02-26 04:14:43
Subject: grammer/keywords/shift/reduce conflicts
Previous:From: Brett McCormickDate: 1998-02-26 04:07:38
Subject: transaction not valid ColID

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group