Skip to content

Allow prl_fs to follow symlinks when mounting /Users #77

@shehzaman

Description

@shehzaman

Is there a way to mount all folders that are symlinked in /Users?

/Users is mounted as expected when using the driver

docker@default:/$ ls -la
total 8
drwxr-xr-x   17 root     root           440 Nov 29 06:33 .
drwxr-xr-x   17 root     root           440 Nov 29 06:33 ..
-rw-------    1 root     root          1024 Nov 29 06:33 .rnd
drwxr-xr-x    1 nobody   root           204 Oct 30  2015 Users
drwxr-xr-x    2 root     root          1420 Nov 29 06:32 bin
drwxrwxr-x   15 root     staff         4360 Nov 29 06:32 dev
drwxr-xr-x    9 root     root          1000 Dec  2 10:59 etc
drwxrwxr-x    4 root     staff           80 Nov 29 06:32 home
-rwxr-xr-x    1 root     root           496 Nov  8 01:53 init
drwxr-xr-x    4 root     root           840 Nov 29 06:32 lib
lrwxrwxrwx    1 root     root             3 Nov 29 06:32 lib64 -> lib
lrwxrwxrwx    1 root     root            11 Nov 29 06:32 linuxrc -> bin/busybox
drwxr-xr-x    4 root     root            80 Nov 29 06:33 mnt
drwxrwsr-x    2 root     staff          160 Nov 29 06:32 opt
dr-xr-xr-x   98 root     root             0 Nov 29 06:32 proc
drwxrwxr-x    2 root     staff           80 Nov 29 06:32 root
drwxrwxr-x    6 root     staff          120 Nov 29 06:33 run
drwxr-xr-x    2 root     root          1300 Nov 29 06:32 sbin
dr-xr-xr-x   13 root     root             0 Nov 29 06:32 sys
lrwxrwxrwx    1 root     root            13 Nov 29 06:33 tmp -> /mnt/sda1/tmp
drwxr-xr-x    7 root     root           140 Nov 29 06:32 usr
drwxrwxr-x    8 root     staff          180 Nov 29 06:32 var

If any folder inside /Users is symlinked outside /Users - the folder does not show up

docker@default:/Users/apple$ ls -la
drwx------    1 root     root           170 Jan 16  2018 Downloads
lrwxr-xr-x    1 root     root            36 Aug 20  2017 DownloadsLocal -> /Volumes/Macintosh HD/DownloadsLocal
drwx------    1 root     root          2686 Nov 27 12:06 Library
lrwxr-xr-x    1 root     root            29 Dec 14  2014 Movies -> /Volumes/Macintosh HD/Movies/
lrwxr-xr-x    1 root     root            28 Dec 14  2014 Music -> /Volumes/Macintosh HD/Music/
lrwxr-xr-x    1 root     root            32 Feb 18  2016 Parallels -> /Volumes/Macintosh HD/Parallels/
lrwxr-xr-x    1 root     root            31 Dec 14  2014 Pictures -> /Volumes/Macintosh HD/Pictures/
drwxr-xr-x    1 root     root           170 Sep 17  2014 Public
drwxr-xr-x    1 root     root           136 Oct 27 20:18 Sites

The folders symlinked to /Volumes/Machintosh HD/... are not accessible inside boot2docker VM.

Is there a way to mount these folders automatically?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions