Steps to reproduce
- Clone the grist-core repository:
git clone git@github.com:gristlabs/grist-core.git
- go to the cloned repository, create an VM through agent-vm and start a shell:
cd grist-core; agent-vm shell
- inside the VM, run the following command:
yarn install
Actual behavior
I get this error:
error Error: EPERM: operation not permitted, chmod '/home/florentpro/projects/grist-core/node_modules/@babel/core/node_modules/.bin/parser'
Expected behavior
The command should succeed (and the chmod work)
Analysis
It appears that the mountpoint type is fuse.sshfs:
vm:grist-core% mount | grep grist-core
:/home/florentpro/projects/grist-core on /home/florentpro/projects/grist-core type fuse.sshfs (rw,nosuid,nodev,relatime,user_id=1001,group_id=1001,allow_other)
Which causes the described issue, i.e. some relative symlinks don't work.
Suggested fix
- Replace the type of mountpoint from sshfs to virtio
- Suggest the installation of virtiofs (on Linux: virtiofsd which is available on Debian)
Steps to reproduce
git clone git@github.com:gristlabs/grist-core.gitcd grist-core; agent-vm shellyarn installActual behavior
I get this error:
Expected behavior
The command should succeed (and the chmod work)
Analysis
It appears that the mountpoint type is fuse.sshfs:
Which causes the described issue, i.e. some relative symlinks don't work.
Suggested fix