ilac2
March 10, 2026, 5:11pm
1
Hello,
we successfully set up a userdir different from default .snap, following instructions here
https://step.esa.int/main/toolboxes/snap/snap-faq/
and here
https://senbox.atlassian.net/wiki/spaces/SNAP/pages/138543106/How+to+move+.snap+directory+to+a+different+location
However, it perfectly works for SNAP desktop app but it does not have any effects on esasnappy and gpt. In fact, installed modules cannot be seen by esasnappy and gpt and they keep on creating .snap directory when invoked
(Linux system with SNAP 13)
Did you also update the gpt.vmoptions file or just the snap.config file?
ilac2
March 11, 2026, 9:19am
3
dear @diana_harosa ,
yes, we added -J-Dsnap.userdir=/data/snap in …/etc/snap.conf and -Dsnap.userdir=/data/snap in gpt.vmoptions
ilac2
March 12, 2026, 8:29am
4
sorry, we also added default_userdir=“/data/snap” in snap.conf and snap.userdir=/data/snap in snap.propertis