cblichmann / jailtime Goto Github PK
View Code? Open in Web Editor NEWCreate and manage chroot/jail environments
License: Other
Create and manage chroot/jail environments
License: Other
See subject, there are currently no tests. The following should be implemented, in order of priority:
jailtime
on test/testfile.jailspec
and check for the expected directory structureSo far, parsing is done via the regexp
package. This does not give good error messages.
Given the two jailspec files below, the include will only work if jailtime
was invoked from the directory of my.jailspec
.
my.jailspec
include other.jailspec
other.jailspec
rune echo $PWD
This should be changed to always import relative to the directory of the file that contains the include
statement.
A package directive could be added that would use the system's local package manager to either a) gather the list of files to copy or b) install directly into the target. In either case, jailtime should track executables and libraries and fill in the missing pieces.
Example jailspec:
/path/to/Read Me.txt
/path/to/Important File.txt -> /path/to/readme.txt
See title, example file:
/usr/bin/git
/usr/bin/git-shell
/usr/bin/git-upload-pack | <- No newline here
This will only include the first two entries in the chroot target dir.
Creating the null device on Linux with
/dev/null c 1 3
will create /dev/null
with permissions:
crw-rw-rw- 1 root root 1, 1 May 26 18:46 null
At least macOS should be made to work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.