RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-08-05 Thread Langer, Christoph
ce Andersen Cc: nio-dev ; Java Core Libs Subject: RE: RFR 8213031: (zipfs) Add support for POSIX file permissions Hi Lance, Alan, et al., as it seems we are getting close to CSR approval, the changeset should also be finally reviewed. Here is the most current version: http://cr.openjdk.

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-06-15 Thread Lance Andersen
k and reviewed from your end? > > Thanks > Christoph > > From: Langer, Christoph > Sent: Mittwoch, 5. Juni 2019 16:45 > To: Alan Bateman ; Lance Andersen > > Cc: nio-dev ; Java Core Libs > > Subject: RE: RFR 8213031: (zipfs) Add support for POSIX file permi

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-06-14 Thread Langer, Christoph
) Add support for POSIX file permissions Hi Lance, Alan, et al., as it seems we are getting close to CSR approval, the changeset should also be finally reviewed. Here is the most current version: http://cr.openjdk.java.net/~clanger/webrevs/8213031.14/ I have made some updates to

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-06-05 Thread Langer, Christoph
Hi Lance, Alan, et al., as it seems we are getting close to CSR approval, the changeset should also be finally reviewed. Here is the most current version: http://cr.openjdk.java.net/~clanger/webrevs/8213031.14/ I have made some updates to ZipConstants as suggested by Lance in a private mail.

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-06-05 Thread Langer, Christoph
From: Alan Bateman Sent: Mittwoch, 5. Juni 2019 11:53 To: Langer, Christoph Cc: nio-dev ; Java Core Libs ; Lance Andersen Subject: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions On 04/06/2019 15:25, Langer, Christoph wrote: Hi Alan, I made some updates to the CSR. The ma

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-06-05 Thread Alan Bateman
On 04/06/2019 15:25, Langer, Christoph wrote: Hi Alan, I made some updates to the CSR. The main update was that I transferred the new documentation part from module-info.java to the CSR’s Specification section. Can you please review the CSR? The CSR mostly looks good. One thing is that the

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-06-04 Thread Langer, Christoph
stoph ; Lance Andersen Cc: nio-dev ; Java Core Libs Subject: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions On 02/06/2019 22:35, Langer, Christoph wrote: Hi Alan, Lance, thanks for the updated wording in module-info, that really looks good. I incorporated it into my change, no we

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-06-03 Thread Alan Bateman
On 02/06/2019 22:35, Langer, Christoph wrote: Hi Alan, Lance, thanks for the updated wording in module-info, that really looks good. I incorporated it into my change, no we’d be here: http://cr.openjdk.java.net/~clanger/webrevs/8213031.13/ To be honest, I was hoping it would still make it i

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-06-02 Thread Langer, Christoph
SR to get it reviewed, correct? Thanks Christoph From: Lance Andersen Sent: Freitag, 31. Mai 2019 20:01 To: Alan Bateman Cc: Langer, Christoph ; nio-dev ; Java Core Libs Subject: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions On May 31, 2019, at 12:32 PM, Alan Ba

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-05-31 Thread Lance Andersen
> On May 31, 2019, at 12:32 PM, Alan Bateman wrote: > > On 29/05/2019 13:16, Langer, Christoph wrote: >> Hi Alan, >> >>> The table items in L119-150 look fine, we just need to avoid really long >>> lines One minor comment on L123 is that it might be clearer if you drop >>> "created" from the s

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-05-31 Thread Alan Bateman
On 29/05/2019 13:16, Langer, Christoph wrote: Hi Alan, The table items in L119-150 look fine, we just need to avoid really long lines One minor comment on L123 is that it might be clearer if you drop "created" from the sentence. L48-78 is a "wall of text" and links that I don't think will be e

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-05-29 Thread Langer, Christoph
Hi Alan, > The table items in L119-150 look fine, we just need to avoid really long > lines One minor comment on L123 is that it might be clearer if you drop > "created" from the sentence. > > L48-78 is a "wall of text" and links that I don't think will be easy for > most developers to read. Can

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-05-27 Thread Alan Bateman
On 26/05/2019 21:54, Langer, Christoph wrote: : It's alright as it is. If you look at the source of AccessController.doPrivileged for a PrivilegedExceptionAction, you will see that RuntimeExceptions are caught and rethrown, not yielding a PAE. So I must catch UOE here explicitly because it's a

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-05-26 Thread Langer, Christoph
Hi Alan, > > http://cr.openjdk.java.net/~clanger/webrevs/8213031.10/ > I see your other mail with v11 so I switch to that version. Right. 😊 > > Ok, makes sense. I've updated the coding such that the zip's file owner > would be the default owner, in case it can be retrieved. > I think this is mos

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-05-26 Thread Alan Bateman
On 21/05/2019 16:24, Langer, Christoph wrote: Hi Alan, Thank you for your comments. Here comes the next update... increasing the turnaround time a little bit 😊 http://cr.openjdk.java.net/~clanger/webrevs/8213031.10/ I see your other mail with v11 so I switch to that version. : Ok, makes

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-05-23 Thread Langer, Christoph
, Christoph > Sent: Dienstag, 21. Mai 2019 17:24 > To: Alan Bateman > Cc: nio-dev ; Java Core Libs d...@openjdk.java.net> > Subject: RE: RFR 8213031: (zipfs) Add support for POSIX file permissions > > Hi Alan, > > Thank you for your comments. Here comes the next update

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-05-21 Thread Langer, Christoph
Hi Alan, Thank you for your comments. Here comes the next update... increasing the turnaround time a little bit 😊 http://cr.openjdk.java.net/~clanger/webrevs/8213031.10/ > Thanks. I think you've addressed most of my points. The only thing that > isn't clear is the group owner as I thought we h

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-05-18 Thread Alan Bateman
On 09/05/2019 16:16, Langer, Christoph wrote: Hi Alan, I've got a new iteration for the zipfs POSIX support and addressed your concerns: http://cr.openjdk.java.net/~clanger/webrevs/8213031.9/ Thanks. I think you've addressed most of my points. The only thing that isn't clear is the group owner

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-05-09 Thread Langer, Christoph
Hi Alan, I've got a new iteration for the zipfs POSIX support and addressed your concerns: http://cr.openjdk.java.net/~clanger/webrevs/8213031.9/ The new change bases on the proposal for JDK-876, which I created to factor out changes unrelated to POSIX to facilitate easier reviewing of this

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-04-02 Thread Alan Bateman
On 01/04/2019 14:38, Langer, Christoph wrote: : Hm, when I was looking at it initially, I was also wondering if it would be cleaner either have a default ZipFileAttributeView/ZipFileAttributes implementation that doesn't extend Posix or an "Enhanced" ZipFileAttributeView/ZipFileAttributes that

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-04-01 Thread Langer, Christoph
Hi Alan, thanks for getting back on this. > One thing that is puzzling is that > ZipFileAttributeView/ZipFileAttributes extend > PosixFileAttributeView/PosixFileAttributes. I don't think that will work > because the "zip" view is supported by default whereas "posix" view > needs the file system t

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-03-31 Thread Alan Bateman
On 20/03/2019 16:25, Langer, Christoph wrote: Hi Alan, I now found time to get back to the POSIX file permissions in zipfs. The goal would be to get it done for JDK13 😊 : Here is an updated webrev: http://cr.openjdk.java.net/~clanger/webrevs/8213031.8/ What's next? I skimmed through the up

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-03-20 Thread Langer, Christoph
Hi Alan, I now found time to get back to the POSIX file permissions in zipfs. The goal would be to get it done for JDK13 😊 I went through your mail in details, please see my comments: > 1. By default, a zip file system will have no support for the "posix" > and "owner" views of file attributes,

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-03-01 Thread Langer, Christoph
ginal Message- > From: Alan Bateman > Sent: Montag, 25. Februar 2019 09:31 > To: Langer, Christoph > Cc: nio-dev ; Java Core Libs d...@openjdk.java.net> > Subject: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions > > On 21/02/2019 15:04, Langer, Christoph wr

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-02-25 Thread Alan Bateman
On 21/02/2019 15:04, Langer, Christoph wrote: Hi Alan, here is the next iteration:http://cr.openjdk.java.net/~clanger/webrevs/8213031.7/ I focused on your comments regarding implementation details: : Are there other major implementation points left? If not I guess we should start refining th

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-02-21 Thread Langer, Christoph
Hi Alan, here is the next iteration: http://cr.openjdk.java.net/~clanger/webrevs/8213031.7/ I focused on your comments regarding implementation details: > I'm not sure about using ${user.name} and "" as default. > Have you looked at using the zip file owner/group (or owner/owner on > Windows) a

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-02-14 Thread Alan Bateman
On 13/02/2019 22:26, Langer, Christoph wrote: : Also the "Zip" view of file attributes will need to be fleshed out more (the view name for example). I don't know if that's really necessary as the "Zip" view currently is internal to jdk.zips and I don't propose to export it. Not exporting it is

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-02-13 Thread Langer, Christoph
Subject: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions Hi Christoph On Feb 13, 2019, at 5:30 PM, Langer, Christoph mailto:christoph.lan...@sap.com>> wrote: Hi Lance, thanks for looking. Just starting to take a peek at this and noticed one quick thing in you

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-02-13 Thread Lance Andersen
Hi Christoph > On Feb 13, 2019, at 5:30 PM, Langer, Christoph > wrote: > > Hi Lance, > > thanks for looking. > >> Just starting to take a peek at this and noticed one quick thing in your >> test: >> >> Paths.get(System.getProperty("test.dir", "."), "testPosix.zip") >> —— >>

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-02-13 Thread Langer, Christoph
Hi Lance, thanks for looking. > Just starting to take a peek at this and noticed one quick thing in your test: > > Paths.get(System.getProperty("test.dir", "."), "testPosix.zip") > —— > > You do not need the test.dir property  or the permission added to test.policy > to access i

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-02-13 Thread Langer, Christoph
Hi Alan, thanks for taking a first look into this new edition. > I think the javadoc changes will need a few iterations but we can get to > that once some of the finer details are sorted out. For example, "Posix > Support" isn't quite right as this is about optional support for the > POSIX view o

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-02-13 Thread Lance Andersen
ing in a restricted environment. > > Module-info and CSR have been adopted, too. > > Thanks in advance for reviewing. > > Best regards > Christoph > >> -Original Message- >> From: Langer, Christoph >> Sent: Montag, 21. Januar 2019 10:17 >>

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-02-13 Thread Alan Bateman
On 12/02/2019 21:57, Langer, Christoph wrote: Hi Alan, all, here comes the next proposal for POSIX support in jdk.zipfs - which hopefully represents the converged solution, at least in its overall design. I don't have time to do a detailed code review right now but I did read the updated propo

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-02-12 Thread Langer, Christoph
. Module-info and CSR have been adopted, too. Thanks in advance for reviewing. Best regards Christoph > -Original Message- > From: Langer, Christoph > Sent: Montag, 21. Januar 2019 10:17 > To: 'Alan Bateman' > Cc: nio-dev ; OpenJDK Dev list d...@openjdk.java.net>; Java

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-01-21 Thread Alan Bateman
On 21/01/2019 09:17, Langer, Christoph wrote: : OK, I can see the point that in a PosixFileAttributeView as it is, there's no place for optionality/null values. However, with this approach the benefits would be that Files::get/setPosixPermissions would work and that's why I think we should

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-01-21 Thread Langer, Christoph
Hi Alan, first of all, thank you for your input on this. > I think the approach to explore are: > > 1. zipfs supports PosixFileAttributeView without subsetting. If > readAttribute(file, BasicFileAttributes.class) succeeds then > readAttribute(file, PosixFileAttributes.class) should also succeed,

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-01-18 Thread Alan Bateman
On 12/01/2019 13:02, Langer, Christoph wrote: Hi Alan, as I did not hear back from you I continued to work on the POSIX file permission support for zipfs and specified/implemented the value of 'null' for zip entries with no permission information associated (vs. UnsupportedOperationException)

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-01-14 Thread Alan Bateman
On 14/01/2019 07:42, Langer, Christoph wrote: Hi Lance, I was not aware of JDK-8182117 and by its description it does not fit exactly to the updates to jdk.zipfs module documentation that I propose. However, yes, it is probably a bit more natural to include that part in a potential patch for

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-01-13 Thread Langer, Christoph
Hi Alan, > I will try to get time next week to reply to you on this. Part of the > issue with your current approach is that it breaks PosixFileAttribtues. > There are also issues trying to force the API to optionally support a > subset of POSIX attributes on some zip entries and not on others. So

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-01-12 Thread Alan Bateman
On 12/01/2019 13:02, Langer, Christoph wrote: Hi Alan, as I did not hear back from you I continued to work on the POSIX file permission support for zipfs and specified/implemented the value of 'null' for zip entries with no permission information associated (vs. UnsupportedOperationException)

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-01-12 Thread Lance Andersen
nger, Christoph >> Sent: Dienstag, 8. Januar 2019 09:27 >> To: 'Alan Bateman' ; Volker Simonis >> >> Cc: nio-dev ; OpenJDK Dev list > d...@openjdk.java.net>; Java Core Libs >> Subject: RE: RFR 8213031: (zipfs) Add support for POSIX file permissions >&g

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-01-12 Thread Langer, Christoph
imonis > > Cc: nio-dev ; OpenJDK Dev list d...@openjdk.java.net>; Java Core Libs > Subject: RE: RFR 8213031: (zipfs) Add support for POSIX file permissions > > Hi Alan, Volker, > > thanks for bringing up these discussion points. I agree that we shall > ca

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-01-08 Thread Langer, Christoph
penjdk.java.net>; OpenJDK Dev list d...@openjdk.java.net>; Java Core Libs > Subject: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions > > On 07/01/2019 19:26, Volker Simonis wrote: > > : > > We considered this, but it is problematic because it is perfect

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-01-07 Thread Alan Bateman
On 07/01/2019 19:26, Volker Simonis wrote: : We considered this, but it is problematic because it is perfectly valid to have a file with external file attributes where none of the Posix attributes is actually set (i.e. an empty set of Posix files attributes). This wouldn't be distinguishable from

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-01-07 Thread Volker Simonis
Hi Alan, thaks for looking at the javadoc/CSR. On Mon, Jan 7, 2019 at 8:10 PM Alan Bateman wrote: > > On 07/01/2019 11:13, Langer, Christoph wrote: > > Hi, > > > > I’ve amended the jdk.zipfs module documentation in > src/jdk.zipfs/share/classes/module-info.java to document the new behavior > (

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-01-07 Thread Alan Bateman
On 07/01/2019 11:13, Langer, Christoph wrote: Hi, I’ve amended the jdk.zipfs module documentation in src/jdk.zipfs/share/classes/module-info.java to document the new behavior (e.g. support of PosixFileAttributeView) as requested by Alan. I’ve also updated the CSR. Webrev: http://cr.openjdk

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2019-01-07 Thread Langer, Christoph
; security-dev ; SHEN, XUEMING ; Alan Bateman ; nio-dev Subject: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions Hi Christoph, thanks for updating the change. I think it is in a good state now and ready to go! Also the documentation in the CSR for this issue (https

Re: RFR - CSR: 8213082: (zipfs) Add support for POSIX file permissions (was: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions)

2019-01-02 Thread Alan Bateman
On 21/12/2018 13:43, Langer, Christoph wrote: Hi Alan, Adding support for POSIX file permissions to the zip APIs is problematic as we've been discussing here. There are security concerns and also concerns that how it interacts with JAR files and signed JAR in particular. I don't disagree that w

Re: RFR - CSR: 8213082: (zipfs) Add support for POSIX file permissions (was: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions)

2018-12-21 Thread Volker Simonis
ithout any side effects on java.util.zip and java.util.jar. Please find my comments for the CSR below (for some reason I couldn't add them to the CSR directly). I'd really appreciate if you could reconsider reviewing Christoph's change ("RFR 8213031: (zipfs) Add support for PO

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2018-12-21 Thread Volker Simonis
Hi Christoph, thanks for updating the change. I think it is in a good state now and ready to go! Also the documentation in the CSR for this issue ( https://bugs.openjdk.java.net/browse/JDK-8213082) is greatly appreciated and answers all the questions which have been raised so far. So if there are

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2018-12-21 Thread Langer, Christoph
Hi all, here comes the updated webrev: http://cr.openjdk.java.net/~clanger/webrevs/8213031.3/ I've rebased the change to the current state of the JDK depot. Thanks to Volker, the test has been enhanced and now also tests more copy operations (from zip file system to zip file system and from zi

RE: RFR - CSR: 8213082: (zipfs) Add support for POSIX file permissions (was: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions)

2018-12-21 Thread Langer, Christoph
Hi Alan, > Adding support for POSIX file permissions to the zip APIs is problematic > as we've been discussing here. There are security concerns and also > concerns that how it interacts with JAR files and signed JAR in > particular. I don't disagree that we can come to agreement on zipfs > suppor

Re: RFR - CSR: 8213082: (zipfs) Add support for POSIX file permissions (was: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions)

2018-12-21 Thread Alan Bateman
On 21/12/2018 10:41, Langer, Christoph wrote: Hi folks, getting back to the topic of adding POSIX file permission support to jdk.zipfs... I think as we are now in the early stages of JDK13, it's a good point in time to get some (hopefully final) activity on that one. In the last review discus

RFR - CSR: 8213082: (zipfs) Add support for POSIX file permissions (was: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions)

2018-12-21 Thread Langer, Christoph
> From: Chris Hegarty > Sent: Montag, 5. November 2018 17:19 > To: Langer, Christoph ; core-libs-dev d...@openjdk.java.net>; security-...@openjdk.java.net; Xueming Shen > > Cc: nio-dev > Subject: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions > > > On

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2018-11-05 Thread Volker Simonis
ava.base/java/nio/file/Files.html#getFileAttributeView(java.nio.file.Path,java.lang.Class,java.nio.file.LinkOption...) > > With class > https://download.java.net/java/early_access/jdk11/docs/api/java.base/java/nio/file/attribute/PosixFileAttributeView.html > > > > Thanks in advance

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2018-11-05 Thread Chris Hegarty
On 05/11/18 15:59, Alan Bateman wrote: On 05/11/2018 13:05, Langer, Christoph wrote: ... I think you'll need to do a write-up of the overall proposal so that folks can jump in and point out the implications. It's not easy to do this in a code review of a small piece of the solution. Righ

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2018-11-05 Thread Alan Bateman
On 05/11/2018 13:05, Langer, Christoph wrote: Hi Alan, all, I’d welcome a discussion, for sure. Unfortunately there hasn’t been so much participation in this yet. I think this is an item where it’s hard to have a clear opinion and where it’s difficult to oversee all implications it might hav

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2018-11-05 Thread Langer, Christoph
Hi Chris > The reason I asked about the CSR scope clarification is that it was > unclear to me what the ultimate intentions are, given that the previous > mails ( linked to from the CSR ) did have Java SE API changes ( in the > java.util.zip package ). > > Are you now happy to reduce the scope of

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2018-11-05 Thread Chris Hegarty
On 05/11/18 12:54, Langer, Christoph wrote: Hi Chris, yes, there's no impact on Java SE with this item. No API is changed. I've set the scope to JDK, as it affects the features that are available with the "jar" filesystem provider from module jdk.zipfs. ... The reason I asked about the CSR

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2018-11-05 Thread Langer, Christoph
lling to have a look from security perspective? Thanks & Best regards Christoph From: Alan Bateman Sent: Montag, 5. November 2018 11:23 To: Langer, Christoph ; core-libs-dev ; security-...@openjdk.java.net; Xueming Shen Cc: Volker Simonis ; nio-dev Subject: Re: RFR 8213031: (zipfs) Add support f

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2018-11-05 Thread Langer, Christoph
rom: Chris Hegarty > Sent: Montag, 5. November 2018 13:20 > To: Langer, Christoph ; core-libs-dev d...@openjdk.java.net>; security-...@openjdk.java.net > Cc: nio-dev > Subject: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions > > Hi Christoph,

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2018-11-05 Thread Chris Hegarty
Hi Christoph, On 05/11/18 07:32, Langer, Christoph wrote: .. CSR: https://bugs.openjdk.java.net/browse/JDK-8213082 Can you please add a `Scope` value to the CSR? I can't quite tell, but I assume it should be `JDK` or `Implementation`, right? I want to clarify that there is no impact on Java

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions

2018-11-05 Thread Alan Bateman
On 05/11/2018 07:32, Langer, Christoph wrote: Hi, Ping. May I get reviews/substantial feedback on this zipfs enhancement? It might be bit early to be asking for a code review on just one piece of this. I think the first step on this feature has to be to put all the issues on the table. The

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions

2018-11-04 Thread Langer, Christoph
: Montag, 29. Oktober 2018 15:55 To: 'Alan Bateman' ; core-libs-dev ; security-...@openjdk.java.net; Xueming Shen Cc: Volker Simonis ; nio-dev Subject: RE: RFR 8213031: (zipfs) Add support for POSIX file permissions (was: Enhance jdk.nio.zipfs to support Posix File Permissions

RE: RFR 8213031: (zipfs) Add support for POSIX file permissions (was: Enhance jdk.nio.zipfs to support Posix File Permissions)

2018-10-29 Thread Langer, Christoph
; nio-dev Subject: Re: RFR 8213031: (zipfs) Add support for POSIX file permissions (was: Enhance jdk.nio.zipfs to support Posix File Permissions) On 29/10/2018 09:26, Langer, Christoph wrote: : As per request from Alan, I'm adding security-dev to get a review from security perspective. F

Re: RFR 8213031: (zipfs) Add support for POSIX file permissions (was: Enhance jdk.nio.zipfs to support Posix File Permissions)

2018-10-29 Thread Alan Bateman
On 29/10/2018 09:26, Langer, Christoph wrote: : As per request from Alan, I’m adding security-dev to get a review from security perspective. For security-dev then I think it would be better to write-up a summary of the overall proposal and the implications for applications/libraries that u

RFR 8213031: (zipfs) Add support for POSIX file permissions (was: Enhance jdk.nio.zipfs to support Posix File Permissions)

2018-10-29 Thread Langer, Christoph
Hi, here's an update of my webrev: http://cr.openjdk.java.net/~clanger/webrevs/8213031.1/ I added synchronization to the updating of permCache in ZipUtils.java to avoid concurrent modifications. As per request from Alan, I'm adding security-dev to get a review from security perspective. Than