MCPcopy Create free account
hub / github.com/bugy/script-server / make_executable

Function make_executable

src/utils/file_utils.py:107–109  ·  view source on GitHub ↗
(file_path)

Source from the content-addressed store, hash-verified

105
106
107def make_executable(file_path):
108 st = os.stat(file_path)
109 os.chmod(file_path, st.st_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)
110
111
112def is_executable(file_path):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected