Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 67536 invoked from network); 26 Feb 2001 09:25:59 -0000 Received: from unknown (HELO mblfw3.macquarie.com.au) (203.28.95.251) by h31.sny.collab.net with SMTP; 26 Feb 2001 09:25:59 -0000 Received: by mblfw3.macquarie.com.au; id UAA12142; Mon, 26 Feb 2001 20:25:40 +1100 Received: from mblfw4(203.18.209.231) by mblfw3.macquarie.com.au via smap (V4.2) id xma012071; Mon, 26 Feb 01 20:25:10 +1100 Received: by mblfw4.macquarie.com.au; id UAA11494; Mon, 26 Feb 2001 20:25:10 +1100 Received: from isdserv3.macbank(10.123.0.32) by mblfw4.macquarie.com.au via smap (V4.2) id xma011427; Mon, 26 Feb 01 20:24:55 +1100 Received: from nt_syd_ex01.macbank (nt_syd_ex01 [10.124.15.10]) by isdserv3.macbank (8.9.1/8.9.1) with ESMTP id UAA12777 for ; Mon, 26 Feb 2001 20:24:54 +1100 (EST) Received: by nt_syd_ex01.macbank with Internet Mail Service (5.5.2650.21) id ; Mon, 26 Feb 2001 20:24:53 +1100 Message-ID: <67FE02381F67D3119F960008C7845A2C0565A619@nt_syd_ex09.macbank> From: Tim Vernum To: "'ANT-dev'" Subject: [RFC] permissions filters on file/patternset Date: Mon, 26 Feb 2001 20:24:51 +1100 X-Mailer: Internet Mail Service (5.5.2650.21) X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I need, and have a working prototype for, a file/patternset that can filter based on file permissions. In my case, I want to jar up a directory, but there's a few files I don't have read permission on. Due to the nature of things, I don't care about them, but I'd rather not have to explicitly name them in my excludes. I have hacked at DirectoryScanner and FileSet to add an attribute that allows me to specify that a fileset should only include readable files. Since I don't want to support a hacked version, I'd like to get this into 1.4 So, a Request for Comments (RFC) on: * Will this get into 1.4 if I do it? * Should it be on fileset/patternset/both [the fileset/patternset thing annoys me] * Should it be part of the FileScanner interface, or only on DirectoryScanner * What should the element be called - "permissions" comes to mind. * How should it be specified? (I'd go for "r" "rw" "w" "") Any comments would be greatly appreciated.