dcload-ip
dcload-ip copied to clipboard
Chrootless
Added an -m option to dc-tool-ip as an alternative to the -c (chroot) option The two have been made mutually exclusive with an error message indicating just that
The -m option foregoes the usage of chroot and accesses the filesystem in the given folder directly
There is a little bit of safety built in, in that the realpath function is used to ensure that paths are beneath the path given with -m
The big advantage is that it allows easy debugging without having to wreck your IDE settings with root ownership (a problem I've been having in VSCode).
Another possible advantage is that the -m option should also work in MINGW, although I haven't tested this myself yet.