Public bug reported: Steps to reproduce: 1. Install Ubuntu 18.40 LTS (or 16.04 LTS) 2. Install default-jre with
$ sudo apt-get install default-jre 3. Refresh snaps: $ snap refresh 4. Find Eclipse snap $ snap find eclipse Name Version Developer Notes Summary eclipse 4.7.3a snapcrafters classic Extensible Tool Platform and Java IDE mosquitto 1.5 ralight - Eclipse Mosquitto MQTT broker 4. Install classic Eclipse snap $ snap install eclipse --classic 5. Mount USB-flash to the system, check its free space, create test file $ df -h | grep /media/$USER /dev/sdb1 500M 11M 489M 3% /media/mate/TMP_512M $ echo hello > /media/mate/TMP_512M/hello.java $ cat /media/mate/TMP_512M/hello.java hello 6. Run Eclipse from terminal to open created file: $ which eclipse /snap/bin/eclipse $ eclipse /media/mate/TMP_512M/hello.java Expected results: Eclipse opens file, user can edit it. Actual results: Eclipse does not open file, reports the following to the terminal - org.eclipse.m2e.logback.configuration: Logback config file: /home/mate/eclipse-workspace/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.8.3.20180227-2137.xml SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [bundleresource://496.fwk2052814491:1/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [bundleresource://496.fwk2052814491:2/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] org.eclipse.m2e.logback.configuration: Initializing logback WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.eclipse.emf.ecore.xmi.impl.XMLHandler (file:/snap/eclipse/12/plugins/org.eclipse.emf.ecore.xmi_2.13.0.v20170609-0707.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding() WARNING: Please consider reporting this to the maintainers of org.eclipse.emf.ecore.xmi.impl.XMLHandler WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Note - below is the output of `snap interfaces` $ snap interfaces Slot Plug :account-control - :accounts-service - :alsa - :autopilot-introspection - :avahi-control - :avahi-observe - :bluetooth-control - :bluez - :broadcom-asic-control - :browser-support - :camera - :classic-support - :core-support core:core-support-plug :cups-control - :dcdbas-control - :desktop - :desktop-legacy - :docker-support - :firewall-control - :framebuffer - :fuse-support - :gpg-keys - :gpg-public-keys - :gpio-memory-control - :greengrass-support - :gsettings - :hardware-observe - :hardware-random-control - :hardware-random-observe - :home - :io-ports-control - :joystick - :kernel-module-control - :kubernetes-support - :kvm - :libvirt - :locale-control - :log-observe - :lxd-support - :modem-manager - :mount-observe - :netlink-audit - :netlink-connector - :network pulsemixer :network-bind - :network-control - :network-manager - :network-observe - :network-setup-control - :network-setup-observe - :ofono - :opengl - :openvswitch - :openvswitch-support - :optical-drive - :password-manager-service - :physical-memory-control - :physical-memory-observe - :ppp - :process-control - :pulseaudio pulsemixer :raw-usb - :removable-media - :screen-inhibit-control - :shutdown - :snapd-control - :ssh-keys - :ssh-public-keys - :system-observe - :system-trace - :time-control - :timeserver-control - :timezone-control - :tpm - :uhid - :unity7 - :upower-observe - :wayland - :x11 pulsemixer as you can see - there are no snaps with 'removable-media' connector. So Eclipse can not access removable media. Such an access is expected for such application. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: snapd 2.32.5+18.04 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.1 Architecture: amd64 CurrentDesktop: MATE Date: Wed Jun 6 22:22:08 2018 InstallationDate: Installed on 2018-04-26 (40 days ago) InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: snapd UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: snapd (Ubuntu) Importance: Undecided Status: Invalid ** Tags: apport-bug bionic xenial ** Description changed: Steps to reproduce: 1. Install Ubuntu 18.40 LTS (or 16.04 LTS) 2. Install default-jre with - $ udo apt-get install default-jre + $ sudo apt-get install default-jre 3. Refresh snaps: $ snap refresh 4. Find Eclipse snap $ snap find eclipse Name Version Developer Notes Summary eclipse 4.7.3a snapcrafters classic Extensible Tool Platform and Java IDE mosquitto 1.5 ralight - Eclipse Mosquitto MQTT broker 4. Install classic Eclipse snap $ snap install eclipse --classic 5. Mount USB-flash to the system, check its free space, create test file $ df -h | grep /media/$USER /dev/sdb1 500M 11M 489M 3% /media/mate/TMP_512M $ echo hello > /media/mate/TMP_512M/hello.java $ cat /media/mate/TMP_512M/hello.java hello - 6. Run Eclipse from terminal to open created file: $ which eclipse /snap/bin/eclipse $ eclipse /media/mate/TMP_512M/hello.java Expected results: Eclipse opens file, user can edit it. - Actual results: - Eclipse does not open file, reports the following to the terminal - - + Eclipse does not open file, reports the following to the terminal - org.eclipse.m2e.logback.configuration: Logback config file: /home/mate/eclipse-workspace/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.8.3.20180227-2137.xml SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [bundleresource://496.fwk2052814491:1/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [bundleresource://496.fwk2052814491:2/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] org.eclipse.m2e.logback.configuration: Initializing logback WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.eclipse.emf.ecore.xmi.impl.XMLHandler (file:/snap/eclipse/12/plugins/org.eclipse.emf.ecore.xmi_2.13.0.v20170609-0707.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding() WARNING: Please consider reporting this to the maintainers of org.eclipse.emf.ecore.xmi.impl.XMLHandler WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release - Note - below is the output of `snap interfaces` - $ snap interfaces + $ snap interfaces Slot Plug :account-control - :accounts-service - :alsa - :autopilot-introspection - :avahi-control - :avahi-observe - :bluetooth-control - :bluez - :broadcom-asic-control - :browser-support - :camera - :classic-support - :core-support core:core-support-plug :cups-control - :dcdbas-control - :desktop - :desktop-legacy - :docker-support - :firewall-control - :framebuffer - :fuse-support - :gpg-keys - :gpg-public-keys - :gpio-memory-control - :greengrass-support - :gsettings - :hardware-observe - :hardware-random-control - :hardware-random-observe - :home - :io-ports-control - :joystick - :kernel-module-control - :kubernetes-support - :kvm - :libvirt - :locale-control - :log-observe - :lxd-support - :modem-manager - :mount-observe - :netlink-audit - :netlink-connector - :network pulsemixer :network-bind - :network-control - :network-manager - :network-observe - :network-setup-control - :network-setup-observe - :ofono - :opengl - :openvswitch - :openvswitch-support - :optical-drive - :password-manager-service - :physical-memory-control - :physical-memory-observe - :ppp - :process-control - :pulseaudio pulsemixer :raw-usb - :removable-media - :screen-inhibit-control - :shutdown - :snapd-control - :ssh-keys - :ssh-public-keys - :system-observe - :system-trace - :time-control - :timeserver-control - :timezone-control - :tpm - :uhid - :unity7 - :upower-observe - :wayland - :x11 pulsemixer - as you can see - there are no snaps with 'removable-media' connector. - - So Eclipse can not access removable media. Such an access is expected for such application. + So Eclipse can not access removable media. Such an access is expected + for such application. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: snapd 2.32.5+18.04 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.1 Architecture: amd64 CurrentDesktop: MATE Date: Wed Jun 6 22:22:08 2018 InstallationDate: Installed on 2018-04-26 (40 days ago) InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: snapd UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1775458 Title: After 'snap install eclipse --classic' Eclipse does not have access to removable-media To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1775458/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs