Re: overlayfs in 4.12-rc1. Files in lower become unwritable in the overlay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 15, 2017 at 5:41 PM,  <ziegler@xxxxxxxxxxxxxxx> wrote:
>
> How to reproduce: Make sure that the kernel is compiled with
> CONFIG_TMPFS_XATTR not set. (Otherwise, as Miklos suggested, the bug
> does not occur)
>
> Start with a directory "lower" (btrfs in my case) containing an empty
> file "x", and three empty directories "upper", "workdir", "over" on
> "/tmp" (tmpfs). Then mount the overlayfs
>
>    sudo mount -t overlay -o \
>      lowerdir=lower,upperdir=/tmp/upper,workdir=/tmp/workdir overlay \
>      /tmp/over
>
> Then the commands
>
>    sudo touch /tmp/over/x
>    sudo mv /tmp/over/x /tmp/over/z
>
> fail:
>   touch: cannot touch '/tmp/over/x': Operation not supported
>   mv: cannot move '/tmp/over/x' to '/tmp/over/z': Operation not
>   supported

Thanks for the report.  Fix pushed to overlayfs-next branch of
git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git

Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux