Will Dyson on 18 Nov 2006 00:07:41 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] loopback mounting fs images


On 11/16/06, gabriel rosenkoetter <gr@eclipsed.net> wrote:

I guess I had the impression that the Linux FS layer already had
ways to let regular users do union and tmpfs mounts, but I haven't
ever actually done it... was I wrong? Would that be enough, or do
you need changes to be persistant after umount(8)?

Unfortunatly, no. The linux VFS layer requires root (or CAP_SYS_MOUNT, I guess) to perform the mount syscall. Even for tmpfs or union mounts on mountpoints owned by the user.

However, the use of fuse-based filesystems and the (suid) fusermount
tool can emulate the behavior that is desired here.

--
Will Dyson
Lucid Tech Solutions
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug