-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can edit an existing file, but can not create one #7
Comments
Hey. I don't have a Mac to test this with I'm afraid. I've done some additional testing with physically and virtually separate hosts and not hit this issue I'm afraid. What are the permissions on the 'source' directory you have used? |
The command I use:
shows
There are weird behavior happened, because previously I am sure that it was up & running. But it is not now. It may related to ipv6 issue, not sure. |
This may be something to do with MacOS being BSD based? Certainly some of the NFS options specified in the exports file seem to be different. How things might get 'translated' is hard to know. The no_root_squash option is entirely different and changes to -mapall=. Would you be able to try building the container from scratch after changing this in the nfs-server-alpine/confd/tmpl/exports.tmpl file? Another suggestion might be to try assigning the source directory (mac) and mount location (linux) ownership by a user with the same UID. A real shame I have no way of trying any of this out. |
That's fine. Still thanks for the advices. I am closing it now. |
OK. Did you get anywhere? Others might find the information useful if you did. |
How to replicate: just did what you described in README.
Server side: the host is a Mac. I use docker for Mac to spawn a container. The docker logs message looks the same as you mentioned in README.
Client side, a linux server that can connect to the container through host ip. I can rename the file / edit the file / mkdir without problem, but I cannot create file. The mounted directory should have all the permissions enabled (777)
The error is like this:
touch: cannot touch 'cccc': Input/output error
The text was updated successfully, but these errors were encountered: