Re: Executable files in CVS

From: Philip Yarra <philip(at)utiba(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Executable files in CVS
Date: 2003-11-24 00:50:55
Message-ID: 200311241150.55249.philip@utiba.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 24 Nov 2003 11:41 am, Bruce Momjian wrote:
> > find pgsql-server/ -type f -perm +0333 -ls
>
> That command doesn't seem to work for me. I see:

I think that should be -perm +0111:

from man find:
-perm +mode
Any of the permission bits mode are set for the file.

This would find all executable files (by u,g,o). +0333 would also find
writable files (as in your example)

Regards, Philip.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2003-11-24 01:16:29 Re: initdb mkdir_p() doesn't work
Previous Message Tom Lane 2003-11-24 00:50:21 Re: Executable files in CVS