idstack
idstack copied to clipboard
Atomic writes leave the manifest and reports at mode 0600
bin/idstack-manifest-merge (write_atomic) and bin/idstack-report-section (write_atomic) write with tempfile.mkstemp + os.replace, so the file ends at 0600 whatever the umask. Other users on a shared machine cannot read .idstack/project.json or the reports. Fix: shutil.copymode from the existing file, or chmod 0o666 & ~umask for a new one (bin/idstack-migrate and idstack-learnings delete already keep the mode). Low impact for a single user; deferred from the ponytail audit.