PyDocs

Nav

File and Directory Access

copymode

shutil

function (source)
  • copymode(src, dst, *, follow_symlinks=True)
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.
Changed in 3.3
  • 3.3: Added follow_symlinks argument.
0 Examples
No examples for shutil/copymode.
See Also
No see-alsos for shutil/copymode
0 Notes
No notes for copymode