Esempio n. 1
0
def _make_writable(path, silent=False):
    if silent and not os.path.exists(path):
        return
    return chmod_native(path, "u+w", recursive=True)
Esempio n. 2
0
def _make_writable(path, silent=False):
  if silent and not os.path.exists(path):
    return
  return chmod_native(path, "u+w", recursive=True)
Esempio n. 3
0
def _make_readonly(path, silent=False):
    if silent and not os.path.exists(path):
        return
    return chmod_native(path, "ugo-w", recursive=True)
Esempio n. 4
0
def _make_readonly(path, silent=False):
  if silent and not os.path.exists(path):
    return
  return chmod_native(path, "ugo-w", recursive=True)