Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 09 May 2003 13:52:56 -0700 From: "Karr, David" Subject: How to "find" all writable files in a directory tree? To: cygwin AT cygwin DOT com Message-id: <0C260F619E428642BFA6380177C3ADF302659F@exmsea005.us.wamu.net> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6334.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 09 May 2003 20:52:56.0361 (UTC) FILETIME=[F7A59990:01C3166C] I need to find all the files in a directory tree that are writable. So, the "find" man page has the following text: ------------------------- -perm mode File's permission bits are exactly mode (octal or symbolic). Symbolic modes use mode 0 as a point of departure. -perm -mode All of the permission bits mode are set for the file. -perm +mode Any of the permission bits mode are set for the file. ------------------------- I'm not quite sure what this tells me. I guessed that "-perm +w" would do what I want. Unfortunately, when I use this it says: find: invalid mode `+w' I'm on Cygwin 1.3.22. Am I misunderstanding what this man page says? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/