Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

write access to shared folder #76

Closed
KrisThielemans opened this issue Apr 16, 2018 · 3 comments
Closed

write access to shared folder #76

KrisThielemans opened this issue Apr 16, 2018 · 3 comments
Assignees
Milestone

Comments

@KrisThielemans
Copy link
Member

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.

@KrisThielemans KrisThielemans added this to the v1.1 milestone Apr 16, 2018
@casperdcl
Copy link
Member

casperdcl commented Apr 16, 2018

I'd suggest umask (for forcing permissions), uid and gid (to match host), for example in my fstab for an ntfs drive, where gid=46 is for plugdev:

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

Not sure how applicable this is to VBox

@KrisThielemans
Copy link
Member Author

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

@DANAJK
Copy link
Contributor

DANAJK commented Apr 24, 2018

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.

@DANAJK DANAJK closed this as completed Apr 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants