#sandboxing #fuse #bazel #sandbox

bin+lib sandboxfs

A virtual file system for sandboxing

3 unstable releases

Uses old Rust 2015

0.2.0 Apr 20, 2020
0.1.1 Oct 24, 2019
0.1.0 Feb 5, 2019

#797 in Filesystem

Download history 28/week @ 2024-03-12 20/week @ 2024-03-19 19/week @ 2024-03-26 57/week @ 2024-04-02 18/week @ 2024-04-09 14/week @ 2024-04-16 20/week @ 2024-04-23 13/week @ 2024-04-30 11/week @ 2024-05-07 19/week @ 2024-05-14 16/week @ 2024-05-21 34/week @ 2024-05-28 31/week @ 2024-06-04 37/week @ 2024-06-11 37/week @ 2024-06-18 28/week @ 2024-06-25

137 downloads per month

Apache-2.0

440KB
8K SLoC

Go 4K SLoC // 0.2% comments Rust 3.5K SLoC // 0.1% comments Shell 337 SLoC // 0.3% comments

Contains (autotools obfuscated code, 5KB) configure

sandboxfs: A virtual file system for sandboxing

sandboxfs is a FUSE file system that exposes a combination of multiple files and directories from the host's file system in the form of a virtual tree with an arbitrary layout. You can think of a sandbox as an arbitrary view into the host's file system with different access privileges per directory.

sandboxfs is designed to allow running commands with limited access to the file system by using the virtual tree as their new root, and to do so consistently across a variety of platforms.

sandboxfs is licensed under the Apache 2.0 license and is not an official Google product.

Releases

The latest version of sandboxfs is 0.2.0 and was released on 2020-04-20.

See the installation instructions for details on how to build and install sandboxfs.

See the release notes file for more details.

Usage

sandboxfs is fully documented in the sandboxfs(1) manual page, which is located in the man/sandboxfs.1 file. You can view a rendered version of this manual page using the following command after cloning the tree:

man ./man/sandboxfs.1

Contributing

If you'd like to contribute to sandboxfs, there is plenty of work to be done! Please make sure to read our contribution guidelines to learn about some important prerequisite steps.

Dependencies

~6–16MB
~202K SLoC