Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 573B57AC4 for ; Wed, 9 Nov 2011 09:40:14 +0000 (UTC) Received: (qmail 65588 invoked by uid 500); 9 Nov 2011 09:40:14 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 65550 invoked by uid 500); 9 Nov 2011 09:40:13 -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 65542 invoked by uid 99); 9 Nov 2011 09:40:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 09:40:13 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 09:40:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AC41E4383A for ; Wed, 9 Nov 2011 09:39:51 +0000 (UTC) Date: Wed, 9 Nov 2011 09:39:51 +0000 (UTC) From: "Dag H. Wanvik (Updated) (JIRA)" To: derby-dev@db.apache.org Message-ID: <1668185401.13616.1320831591707.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1029081364.6273.1320661792521.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5492) Restrictive file permissions: permissions removed also for owner on NTFS if Acl does not contain explicit entry for owner MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik updated DERBY-5492: --------------------------------- Attachment: derby-5492-2.stat derby-5492-2.diff Thanks for looking at the patch, Knut. Uploading derby-5492-2 which removes two unused imports. Committed at svn 1199673 and closing. > Restrictive file permissions: permissions removed also for owner on NTFS if Acl does not contain explicit entry for owner > ------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-5492 > URL: https://issues.apache.org/jira/browse/DERBY-5492 > Project: Derby > Issue Type: Bug > Components: Store > Affects Versions: 10.9.0.0 > Reporter: Dag H. Wanvik > Attachments: derby-5492-1.diff, derby-5492-1.stat, derby-5492-2.diff, derby-5492-2.stat > > > It turns out that the file owner does not necessarily get an explicit AclEntry; this depends on whether the created file has sufficient permissions already through, say, a permission for everybody to write. The present logic removes all AclEntries except those granted to the file's owner, erroneously presuming there would be such an entry always. This led to all AclEntries being removed. > This error is seen in Oracle's nightly regressions for Windows, but did not reproduced when running manually on Windows. This was due to different default inherited permissions on the directories in which the regression tests were run. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira