Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 83568 invoked from network); 18 Apr 2010 01:03:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Apr 2010 01:03:07 -0000 Received: (qmail 86961 invoked by uid 500); 18 Apr 2010 01:03:07 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 86848 invoked by uid 500); 18 Apr 2010 01:03:06 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 86841 invoked by uid 99); 18 Apr 2010 01:03:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Apr 2010 01:03:06 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [32.97.182.143] (HELO e3.ny.us.ibm.com) (32.97.182.143) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Apr 2010 01:02:57 +0000 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e3.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id o3I0oOma026587 for ; Sat, 17 Apr 2010 20:50:24 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o3I12YHl1859760 for ; Sat, 17 Apr 2010 21:02:34 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o3I12Xxb020088 for ; Sat, 17 Apr 2010 21:02:34 -0400 Received: from [127.0.0.1] (sig-9-48-120-167.mts.ibm.com [9.48.120.167]) by d01av04.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id o3I12W9r020075 for ; Sat, 17 Apr 2010 21:02:33 -0400 Message-ID: <4BCA5A2A.5040207@sbcglobal.net> Date: Sat, 17 Apr 2010 18:02:34 -0700 From: Kathey Marsden User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: Derby 4616 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 4/17/2010 10:49 AM, Jayaram Subramanian wrote: > Hi All, > > java.util.PropertyPermission "user.dir", "read"; > > to avoid the > Java user name: Security Exception: > java.security.AccessControlException: access denied > (java.util.PropertyPermission user.name read) > Java user home: Security Exception: > java.security.AccessControlException: access denied > (java.util.PropertyPermission user.home read) > > we are getting in unfiltered output of SysInfoTest testSysInfoLocale method > > To which code base in the policy file i need to add the property > permission settings > > Sysinfo classes are actually included in derby.jar, derbynet.jar, derbyclient.jar and derbytools.jar. They also are of course in the classes directory, so the perssion actually needs to be there in the policy file for all four jars and classes to accommodate different classpaths and classpath orders. For some of these (like derbytools.jar I thinke) we already have permission for all properties, so it does not need to be added. I will commit Lily's DERBY-4441 patch Monday, so make sure you watch for that and make sure your client is synched up before you post a patch. Thanks Kathey