[ 
https://issues.apache.org/jira/browse/DERBY-5492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146253#comment-13146253
 ] 

Knut Anders Hatlen commented on DERBY-5492:
-------------------------------------------

I ran a quick test on the Windows machine where we saw the failures in the 
nightly tests. I ran the derbynet test suite and verified that it failed with 
permission problems without the patch and passed with the patch.

Tiny nit: The patch adds an import for the Monitor class, but it doesn't use 
it. The rest of the changes look good to me.
                
> 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
>
>
> 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

        

Reply via email to