MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _resetperms

Function _resetperms

tools/python-3.11.9-amd64/Lib/tempfile.py:280–287  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

278 func(path, *args)
279
280def _resetperms(path):
281 try:
282 chflags = _os.chflags
283 except AttributeError:
284 pass
285 else:
286 _dont_follow_symlinks(chflags, path, 0)
287 _dont_follow_symlinks(_os.chmod, path, 0o700)
288
289
290# User visible interfaces.

Callers 1

onerrorMethod · 0.85

Calls 1

_dont_follow_symlinksFunction · 0.85

Tested by

no test coverage detected