Darling: Sandboxed home dir?

Created on 17 Oct 2016  路  3Comments  路  Source: darlinghq/darling

Well, I wanted to install Perl on Darling (can you add it? :P). I found on some installer, fired him, and although did not work correctly, wrote their things for example: .bashrc

I wonder if the user's home directory should not be separated?

Enhancement

Most helpful comment

It may be a good idea, but on the other hand, this is quite easy to do by hand. Just export a different HOME environment variable.

All 3 comments

It may be a good idea, but on the other hand, this is quite easy to do by hand. Just export a different HOME environment variable.

Just leaving a note about https://github.com/darlinghq/darling/pull/185
I've added option to rebuild your Darling home (darling clean-home) and you can set DARLING_SANDBOXED_HOME to 1 in env so this will create "sandboxed environment".

You still have access to your real home in /system-root/home/USER if you need copy files.

We now have a separate home dir for the container. You can access the Linux home directory at its full path (/Volumes/SystemRoot/home/$USER) or using the ~/LinuxHome symlink we provide.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jmexe picture jmexe  路  5Comments

mrtino picture mrtino  路  3Comments

wusikijeronii picture wusikijeronii  路  4Comments

josepmc picture josepmc  路  5Comments

ahyattdev picture ahyattdev  路  5Comments