Re: [PATCH] overlayfs: Warn on copy up if a process has a R/O fd open to the lower file

From: Colin Walters
Date: Wed Jun 10 2015 - 11:33:43 EST


On Thu, May 28, 2015, at 02:46 PM, David Howells wrote:
> Print a warning when overlayfs copies up a file if the process that triggered
> the copy up has a R/O fd open to the lower file being copied up.

Why not an option to make it an error? If one's goal is to use overlayfs
without apps potentially corrupting data, better to fail fast.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/