Bug#786925: overlay and NFS now works
Package: src:linux
Fixed: 4.6.2-1
overlayfs and NFS works if you add the option default_permissions to
the mount command as follow:
mount -t nfs -oro,noatime server:/srv/fai/nfsroot /tmp/lower
mount -t overlay overlay -olowerdir=/tmp/lower,upperdir=/tmp/upper,workdir=/tmp/work,default_permissions /tmp/merged
It works nicely for me with Debian kernel 4.6.2. Without this option,
overwriting an existing file ended with a permissions denied.
This option was added in january 2016 to the kernel. See
http://thread.gmane.org/gmane.linux.file-systems.union/493
IMO we can close this bug now.
--
regards Thomas
Reply to: