On Mon, May 02, 2022 at 09:20:26AM +0200, richard lucassen wrote:
mkdir -p -m 700 /tmp/x2go export TMPDIR=/tmp/x2go
The reason I use a subdir on /tmp is that if you write in /tmp the /tmp dir itself is modified (run 'stat /tmp/') and now everything takes place on a ramdisk.
In general, that step should not be necessary. The /tmp dir itself is not updated, just the mounted filesystem is. You only see the /tmp dir itself when you unmount the file system again. For example:
[root@ ~]# stat /mnt ... Change: 2022-05-02 14:23:55.000000000 +0200 [root@ ~]# umount /mnt [root@ ~]# stat /mnt ... Change: 2021-01-06 16:44:39.735500911 +0100