> I would modify base::GetShmemTempDir() to lookup a path via
> base::PathService and then have Oxide override this.
GetShmemTempDir() tries to create a temp file under /dev/shm/, so the problem
is not the path itself, it’s the name of the temp file under that path.
IIUC what needs to be modified is the TempFileName() function, to return
something like "snap.${SNAP_NAME}.XXXXXX", if SNAP_NAME is defined, and fall
back to the default value, ".org.chromium.Chromium.XXXXXX".
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1260103
Title:
oxide should use an app-specific path for shared memory files
To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1260103/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs