I created a new EFS volume and mounted it with the EFS mount helper.
Here is the /etc/fstab
:
LABEL=cloudimg-rootfs / ext4 defaults,discard 0 0
fs-deadbeef:/ /mnt/efs efs _netdev,tls 0 0
The mount completed successfully; however root does not have write permission for anything.
$ cd /mnt/efs
$ ls -al
total 8
drwxr-xr-x 2 root root 6144 May 4 15:28 .
drwxr-xr-x 3 root root 4096 Jun 2 19:56 ..
$ sudo mkdir temp
mkdir: cannot create directory ‘temp’: Permission denied
$ sudo touch test
touch: cannot touch 'test': Permission denied
I went to the AWS EFS console for this volume and verified that the option for "Disable root access by default" is unchecked.
I have what I think is an identical volume on an identical system (the nightly build) for which root has totally normal write access to the volume. The base image is the standard Ubuntu 18.04 AMI.
What can cause root to have no write access to an EFS volume?