We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c292b1 commit 03030daCopy full SHA for 03030da
web/client/codechecker_client/cli/store.py
@@ -922,6 +922,10 @@ def main(args):
922
product_name=product_name)
923
924
temp_dir_path: str = args.temp_dir if args.temp_dir else args.input[0]
925
+ if not os.access(temp_dir_path, os.W_OK):
926
+ # Folder not writeable fallback to /tmp/
927
+ LOG.debug("'%s' is readonly, falling back to /tmp", temp_dir_path)
928
+ temp_dir_path = "/tmp"
929
try:
930
temp_dir = tempfile.mkdtemp(suffix="-store", dir=temp_dir_path)
931
LOG.debug(f"{temp_dir} directory created successfully!")
0 commit comments