Pretty simple situation. I use container engine to create k8s clusters. I need to fuse some buckets to the nodes and want to use this project for that purpose:


I downloaded it and cross-compiled for linux as such:

gcsfuse_linux: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped

When I do that and scp the pre-compiled go to the machine it gives me:

bash: ./gcsfuse_linux: Permission denied

Which is strange given I own the file, have the root and exec permission on the file.

  • Is the file system you're on mounted with noexec?
    – user143703
    Jul 27 '17 at 4:36
  • 2
    @yoonix Yes, you are right. They mount their filesystems with noexec by default. Jul 27 '17 at 16:53
  • @user3081519 Were you able to resolve it? If so, please post an self-answer so it can benefit the community in similar situation.
    – N Singh
    Nov 22 '17 at 19:20

As with all other container-only philosophies (I am looking at you, CoreOS) the binaries are not supposed to be installed directly onto a virtual machine. Your best option is to create the container yourself and pull it from your source, then mount the filesystem of the virtual machine within it if you need it (or through the deployment using k8s).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.