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

Reply via email to