From: Helmut Jarausch <jarausch@skynet.be>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] [offtopic] mount with correct SELinux context on Android
Date: Wed, 10 Feb 2021 12:15:09 +0100 [thread overview]
Message-ID: <PCFTJLAQ.BE75Y7BU.CXLFDPL5@TCRWAJZS.DYRFS56J.NLEWCG6A> (raw)
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
reply other threads:[~2021-02-10 11:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PCFTJLAQ.BE75Y7BU.CXLFDPL5@TCRWAJZS.DYRFS56J.NLEWCG6A \
--to=jarausch@skynet.be \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox