[CCPPETMR/CCPPETMR_VM] write access to shared folder (#76)

0 views
Skip to first unread message

Kris Thielemans

unread,
Apr 16, 2018, 6:04:47 AM4/16/18
to CCPPETMR/CCPPETMR_VM, Subscribed

with current instructions in https://github.com/CCPPETMR/CCPPETMR_VM/blob/master/INSTALL.md on recent VBox, a shared folder doesn't have write permissions.

@DANAJK suggests adding ,dmode=777,fmode=666 to the mount command. umask doesn't help.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Casper da Costa-Luis

unread,
Apr 16, 2018, 8:41:42 AM4/16/18
to CCPPETMR/CCPPETMR_VM, Subscribed

I'd suggest umask (for forcing permissions), uid and gid (to match host), for example

umask=007,uid=1000,gid=46

Note that for docker, the entrypoint for the container actually creates a new user with uid/gid matching the host if possible and sets file permissions https://github.com/CCPPETMR/SIRF-SuperBuild/blob/master/docker/entrypoint.sh

Kris Thielemans

unread,
Apr 24, 2018, 7:58:50 AM4/24/18
to CCPPETMR/CCPPETMR_VM, Subscribed

@DANAJK do we still have to do anything here? If not, close it.

David Atkinson

unread,
Apr 24, 2018, 10:56:42 AM4/24/18
to CCPPETMR/CCPPETMR_VM, Subscribed

I have a set-up that seems to work and I updated the instructions. Note it required running the id command in the VM and using the user and group id reported by that. This does not seem to be the same as suggested above.

David Atkinson

unread,
Apr 24, 2018, 10:56:43 AM4/24/18
to CCPPETMR/CCPPETMR_VM, Subscribed

Closed #76.

Reply all
Reply to author
Forward
0 new messages