Score:0

How to use a loop device as non-root

us flag

Do I need to have root privilege in order to create and use a loop device? Suppose I have an ISO file dir.iso containing an image of the directory dir. I want to mount dir.iso as a directory data and access its files. I've done this in the past using a loop device, but I don't remember how.

muru avatar
us flag
IIRC creation of a loop device can be done by non-root users, but mounting needs root, since otherwise you can gain root by mounting to system directories.
user535733 avatar
cn flag
A very similar question on U&L SE: https://unix.stackexchange.com/questions/202609
N0rbert avatar
zw flag
You can open/mount ISO using Disk Image Mounter, see https://askubuntu.com/a/519858/66509 .
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.