RFR 8213031: (zipfs) Add support for POSIX file permissions
Alan Bateman
Alan.Bateman at oracle.com
Mon Jan 7 20:46:07 UTC 2019
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 the case where a
> file has no external file attributes. So it seems we have to resort to
> throwing an IOE?
>
Maybe although it would be a bit awkward to deal with. The issues around
this remind me a bit about mounting fat32 file systems on Linux or Unix
systems where the fields in the stat structure are populated with
default values. PosixFileAttributeView::readAttributes is essentially
the equivalent of a stat call. This might be something to look at for
the file owner at least.
-Alan
More information about the core-libs-dev
mailing list