Page 1 of 1

Icons on the self-service interface on Macs

Published: January 16, 2025 - 11:57 AM
by yoann.montouchet
Good morning,
I noticed a bug on the Mac agents; a necessary folder is not created in the Wapt directory tree for storing icons.
I just deployed a machine with the latest agent (2.6.0.16795), here is the error visible in the Wapt console:
Screenshot 2025-01-16 114856.png
Screenshot 2025-01-16 114856.png (27.42 KB) Viewed 2286 times
The /opt/wapt/cache/icons folder is therefore missing
Using the terminal and an admin account, you can create the folder "manually":

Code: Select all

sudo mkdir -p /opt/wapt/cache/icons
Afterwards, a quick refresh in the self-service area and everything is OK:
Screenshot 2025-01-16 115545.png
Screenshot 2025-01-16 115545.png (26.38 KB) Viewed 2286 times
This is a 2017 MacBook Pro (Intel) with the agent installed via "tis-waptagent-macos-all-x86_64.pkg", but I encountered the same problem (and the same solution) with an M1 MacBook Pro.

Have a good day everyone! 👋🏻

Re: Icons on self-service on Macs

Published: January 16, 2025 - 4:11 PM
by bkolovljanovic
Good morning,

Thanks for the info, although I admit I don't understand why it's not being created (it should normally be created automatically by the service if the directory does not exist).

It will be available for the next release.

Moreover, on this subject, with a mkdir -p Under macOS, all intermediate folders created take 777 as their permission.

We added this to the pkg post-install file

Code: Select all

if [ ! -d /opt/wapt/cache/icons ] ; then
   mkdir -p /opt/wapt/cache/icons
   chown -R root:wheel /opt/wapt/cache
   chmod -R 755 /opt/wapt/cache
fi