• GeneralPixel 6a
  • .SeedVaultAndroidBackup directory empty - can't access files with Termux

I am trying to backup GrapheneOS by saving SeedVault locally and sending its files with termux and rclone, but it looks like .SeedVaultAndroidBackup folder shows up empty. Is it possible to give termux permissions to access this directory?

I realize that this is not Seedvault exclusive behavior, Aegis backups folder seem to behave the same. Any hint as to where this can be changed would be really appreciated. "Files" application can see content of this folder, so I'm sure that backups did work.

Is Selinux at fault here? Does "Files" app have special permissions to access "context" of other apps?

Solved it - they required explicit Storage Scope permissions added - I assumed that just adding all file permissions will be enough, but it looks it only worked for "shared" folders.

I've tried opening them with Markor (as an example) and noticed that it can see them without any file permissions other than storage scopes.

It's not explicitly stated in documentation below, but I assume that storage scopes use selinux contexts to achieve it (copying a file outside the folder still makes it invisible to apps without that storage scopes permission).

reference from the docs: https://grapheneos.org/usage#storage-access