public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] [offtopic] mount with correct SELinux context on Android
@ 2021-02-10 11:15 Helmut Jarausch
  0 siblings, 0 replies; only message in thread
From: Helmut Jarausch @ 2021-02-10 11:15 UTC (permalink / raw
  To: gentoo-user

Hi,
I hope someone here can help me with the following problem on the Linux  
environment Termux on
my Android phone.

My phone has not enough storage on the /data partition but lots of free  
space on my external
SD card (adoptable storage) which contains an extfat (sdcardfs) file  
system which cannot be used
under Termux (Linux) except for storing plain data files.

Therefore I'd like to create a (big) file - say EXT.raw - there and  
mount it as a loop device.

Under root (tsu in Termux) this is not a problem, but I cannot access  
this new device as
non-root user in Termux.

I don't know SELinux, but I have to mount that loop device with the  
proper SELinux-context
to make it accessible as non-root user.

How can I do this (or any pointers to documentation on this).

Many thanks for a hint,
Helmut


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-10 11:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-10 11:15 [gentoo-user] [offtopic] mount with correct SELinux context on Android Helmut Jarausch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox