Monday, May 21st 2018, 5:21am UTC+2

You are not logged in.

  • Login
  • Register

Reply

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Message information
Message
Settings
Automatically converts internet addresses into links by adding [url] and [/url] around them.
Smiley code in your message such as :) is automatically displayed as image.
You can use BBCode to format your message, if this option is enabled.
Security measure

Please enter the letters that are shown in the picture below (without spaces, and upper or lower case can be used).

The last 2 posts

Friday, May 18th 2018, 11:20am

by SEGGER - Nino

Hello Florian,

Thank you for your inquiry.
A fix for the reported issue has been implemented for the next release version which should we available sometime next week.
Sorry for any inconveniences caused.

To stay up to date with Embedded Studio releases you can subscribe to our notification list: https://www.segger.com/notification/subscribe.php?prodid=196

Best regards,
Nino

Monday, May 14th 2018, 10:45am

by fgrandel

Embedded Studio breaks Ubuntu Bionic's Gnome Setup when installed with restrictive default umask

Hi emStudio user community,
when installing Embedded Studio on Linux (eg. with sudo or logged in as root) then the files are being installed with the standard sudo/root umask. This means that files are potentially installed with the wrong permissions, e.g. non world-readable. As the installer installs e.g. .desktop-files in the global applications folder, gnome-software (and other gnome tools) may be unable to read these files. This can corrupt gnome cache state. This is probably an interaction of invalid permissions and some less-then-resilient behavior of the GNOME desktop when presented with read-protected files on its scan paths.

Ubuntu Bionic (18.04 LTS) seems to be specifically at risk as the default of umask_override seems to have changed from true to false since 16.04 LTS (at least on my machine...).


The culprit is Embedded Studio, though, as the installer MUST make sure (by either setting rights explicitly or by checking/setting the umask beforehand) that files installed into system folders follow the permission conventions of the OS.


In my case the MIME-configuration was corrupted which made GNOME lose all its access to icons (and all other MIME-identified files) which again completely broke the GNOME session.

Steps to reproduce:
* Set your user's umask to e.g. 0007
* Use sudo without umask_override setting to install embedded studio on Ubuntu Bionic
* Check that emStudio files are installed w/o world read rights
* Continue to run GNOME until it tries to access any MIME resource (icons, configurations, ...), e.g. when opening new windows and crashes. ;-)

For those having similar problems:
* apt install -f --reinstall all packages related to gnome session, ubuntu gnome plugins (dash, appindicator), pixbuf, mime types solved the problem in my case
Don't know which were the exact package as I had to try several before I got my installation to work again


Kind regards,

Florian