mutapath.MutaPath.copymode

MutaPath.copymode(dst, *, follow_symlinks=True)[source]

Copy mode bits from src to dst.

If follow_symlinks is not set, symlinks aren’t followed if and only if both src and dst are symlinks. If lchmod isn’t available (e.g. Linux) this method does nothing.