-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
make tmpfs permissions 777 and remove noexec flag #3425
Comments
ok, it's possible to specify the options with:
|
I've tried |
for me I had to change the permissions on the host filesystem directory I was mounting the tmpfs over |
Is docker using the permissions mount options of tmpfs after start a container? I think the expected and correct behavior should be that tmpfs should always honor the mount options permissions. |
I couldn't get it to respect the docker run --tmpfs /app/tmp:uid=1000,gid=1000 ... |
error messgae: ./configure permission denied [why] tmpfs default option (rw,nosuid,noexec,nodev) can't execute stuff from it cause of the noexec flag refer-to: docker/compose#3425 Signed-off-by: Xiao Shenwei <xiaoshenwei96@163.com>
using the tmpfs option in the compose file makes the directory not very useful in some scenarios. it gets mounted as:
tmpfs on /src/core/node_modules type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
which means it:
user
option - it's root:root, mode 755.noexec
flagI suggest removing
noexec
and making it mode 777The text was updated successfully, but these errors were encountered: