LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > neonsignal
User Name
Password

Notices


Rate this Entry

user mounted filesystems

Posted 06-14-2012 at 10:51 PM by neonsignal

Rather than mount a filesystem as root (whether from the command line or through /etc/fstab), non-privileged users can make use of the fuse (filesystem in userspace) system. This requires the installation of the fuse-utils package, and the user has to be added to the fuse group.

There are a number of useful systems implemented on top of fuse.

For example, an ISO system might be required to run a particular application, and just mounted temporarily by the user executing the application. The fuseiso package implements this. To mount the file system:
Code:
fuseiso file.iso /mountpoint/
Another example is an encrypted directory tree. The encfs package implements this. Any file added to the mount point tree is stored on the original filesystem in an encrypted form (though note that file metadata is not encrypted). To mount the filesystem:
Code:
encfs encryption-directory/ /mountpoint/
If the encryption-directory does not exist, it is created and the user interactively supplies encryption options.

Unmounting is the same for most of the fuse based filesystems:
Code:
fusermount -u /mountpoint
Posted in Uncategorized
Views 1853 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 01:13 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration