🐛 Files are no longer written with restrictive permissions (#347)

* add chmod mask after file download (fix #265)

* 🚀 Bump version to 3.4.0a4
This commit is contained in:
Oskar Dudziński
2026-04-29 13:49:44 +02:00
committed by GitHub
parent debca2fc1d
commit 477b4b4635
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "tiddl"
version = "3.4.0a3"
version = "3.4.0a4"
description = "Download Tidal tracks with CLI downloader."
readme = "README.md"
requires-python = ">=3.13"
@@ -197,6 +197,11 @@ class Downloader:
shutil.move(tmp.name, download_path)
try:
download_path.chmod(0o644)
except OSError:
pass
try:
if isinstance(item, Track) and should_extract_flac:
download_path = extract_flac(download_path)