Skip to content

Downloads dir: Don't change permissions#285

Merged
iLLiCiTiT merged 1 commit intodevelopfrom
enhancement/permissions-changes
Feb 19, 2026
Merged

Downloads dir: Don't change permissions#285
iLLiCiTiT merged 1 commit intodevelopfrom
enhancement/permissions-changes

Conversation

@iLLiCiTiT
Copy link
Member

Changelog Description

Avoid change of permissions for installer download dir.

Additional info

Download directory for installer is user's download dir, we should not recursivelly change permissions there.

Testing notes:

  1. Permissions of user's download dir are not changed.

@iLLiCiTiT iLLiCiTiT added the type: enhancement Improvement of existing functionality or minor addition label Feb 19, 2026
@iLLiCiTiT iLLiCiTiT self-assigned this Feb 19, 2026
Copy link
Contributor

@BigRoy BigRoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Description + code changes make sense. Didn't test.


def __init__(self, cleanup_on_fail: bool, *args, **kwargs):
super().__init__(*args, **kwargs)
super().__init__(*args, **kwargs, change_permissions=False)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we still allow via kwargs?

Suggested change
super().__init__(*args, **kwargs, change_permissions=False)
# Use default False for `change_permissions`
change_permissions = kwargs.pop("change_permissions", False)
super().__init__(*args, **kwargs, change_permissions=change_permissions)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have use-case for it.

@iLLiCiTiT iLLiCiTiT merged commit 23498b6 into develop Feb 19, 2026
1 check passed
@iLLiCiTiT iLLiCiTiT deleted the enhancement/permissions-changes branch February 19, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments