However if the sharing is not disallowed, you'll see options to switch to other profiles when sharing files:
- However if the sharing is not disallowed, you'll see options to switch to other profiles when sharing files:
Shelter - a Free and Open-Source app (I've no affiliation) that leverages the "Work Profile" feature to provide an isolated space for cloning apps - acts as a content (media) provider and provides "File Shuttle" option which lets you access Work Profile files from Personal Profile through "Storage Access Framework":
- Shelter - a Free and Open-Source app (I've no affiliation) that leverages the "Work Profile" feature to provide an isolated space for cloning apps - acts as a content (media) provider and provides "File Shuttle" option which lets you access Work Profile files from Personal Profile through "Storage Access Framework":
You can also run a small http
/ftp
server for file sharing on either side, or sync to cloud storage, if not restricted by policy.
- You can also run a small
http
/ftp
server for file sharing on either side, or sync to cloud storage, if not restricted by policy.
So it entirely depends on the profile creator's policy if the file sharing is allowed or not, usually not desirable in a corporate environment. However following method may work in all situations:
- The most widely used trick for file sharing among multiple users is
Android/obb
directory which is shared among users to save storage space. Sharing was managed using bind-mounts in early days but then handling was added to FUSE/sdcardfs
internally. However sharing is deprecated in Android 10 introducing mount option unshared_obb
in sdcardfs
.
So up to Android 9 you can use obb
directory for file sharing among users/profiles:
~# mkdir -p /storage/emulated/*/Android/obb; touch /sdcard/Android/obb/test_file ~# ls /storage/emulated/*/Android/obb/* /storage/emulated/obb/* /storage/emulated/0/Android/obb/test_file /storage/emulated/10/Android/obb/test_file /storage/emulated/obb/test_file