示例#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)
示例#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)
示例#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)
示例#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)