-
Bug
-
Resolution: Fixed
-
P4
-
8, 11, 17, 18
-
b24
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8278007 | 17.0.3-oracle | Alex Kasko | P4 | Resolved | Fixed | b01 |
JDK-8277938 | 17.0.2 | Alex Kasko | P4 | Resolved | Fixed | b07 |
JDK-8295052 | 11.0.18 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8290056 | 11.0.17-oracle | Dukebot | P4 | Resolved | Fixed | b02 |
/run/user/1000/doc (portal) (name=portal type=fuse.portal)
----------System.err:(16/985)----------
java.nio.file.FileSystemException: /run/user/1000/doc: Operation not permitted
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:100)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileStore.readAttributes(UnixFileStore.java:115)
at java.base/sun.nio.fs.UnixFileStore.getTotalSpace(UnixFileStore.java:122)
at Basic.doTests(Basic.java:135)
at Basic.main(Basic.java:49)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
The problem is the same as in
To reproduce the problem with /run/user/1000/doc mount on Fedora 34 one can run:
$ /usr/libexec/xdg-document-portal
This behaviour is also known to cause problems to various Linux utilities, references:
https://lists.debian.org/debian-user/2021/06/msg00022.html
https://bugzilla.redhat.com/show_bug.cgi?id=1952714
https://bugzilla.redhat.com/show_bug.cgi?id=1913358
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=9a38d499ca16f2f4304992eb1ab0894cd0b478e1
https://github.com/flatpak/xdg-desktop-portal/issues/512
- backported by
-
JDK-8277938 Fix java/nio/file/FileStore/Basic.java test by ignoring /run/user/* mount points
- Resolved
-
JDK-8278007 Fix java/nio/file/FileStore/Basic.java test by ignoring /run/user/* mount points
- Resolved
-
JDK-8290056 Fix java/nio/file/FileStore/Basic.java test by ignoring /run/user/* mount points
- Resolved
-
JDK-8295052 Fix java/nio/file/FileStore/Basic.java test by ignoring /run/user/* mount points
- Resolved
- relates to
-
JDK-8272369 java/io/File/GetXSpace.java failed with "RuntimeException: java.nio.file.NoSuchFileException: /run/user/0"
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/094ca715
-
Commit openjdk/jdk17u/5406f14a
-
Commit openjdk/jdk/b6876649
-
Review openjdk/jdk11u-dev/1414
-
Review openjdk/jdk17u/313
-
Review openjdk/jdk/6399