Path.chmod(mode)
Change the file mode and permissions, like os.chmod()
:
>>> p = Path('setup.py') >>> p.stat().st_mode 33277 >>> p.chmod(0o444) >>> p.stat().st_mode 33060
Path.chmod(mode)
Change the file mode and permissions, like os.chmod()
:
>>> p = Path('setup.py') >>> p.stat().st_mode 33277 >>> p.chmod(0o444) >>> p.stat().st_mode 33060
Please login to continue.