PyDocs

Nav

Generic Operating System Services

lchown

os

functionUnix
  • lchown(path, uid, gid)
Change the owner and group id of path to the numeric uid and gid.

This function will not follow symbolic links.
Equivalent to os.chown(path, uid, gid, follow_symlinks=False).
Changed in 3.6
  • 3.6: Accepts a path-like object.
0 Examples
No examples for os/lchown.
See Also
No see-alsos for os/lchown
0 Notes
No notes for lchown