-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Skip setting file permissions globally after each install #3040
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ DietPi-Software | Skip "/DietPi/dietpi/func/dietpi-set_software setpermissions" to not overwrite user custom permissions and probably other software permission modes that are more secure. Instead apply required permissions directly during individual software config step. + DietPi-Software | BaiKal: Handle reinstalls properly, replace the old instance but keep the old database/configs dir. Install and enable required PHP modules explicitly which allows us on long term to keep the default PHP install slim without additional modules installed by default. + DietPi-Software | Uninstall enhancements: Disable services before removing units, unmask in case they are not located in /etc, to have any related symlinks removed for cleaner uninstall. Add checks before removing files/dirs/users to avoid error messages.
+ DietPi-Set_software | Remove setpermissions function. Those are now applied on install for software titles individually. Aside from that we should never overwrite the whole userdata permissions which breaks user custom changes and implies possible security issues in some software cases.
+ DietPi-Software | Shorten array names: aSOFTWARE_WHIP_NAME => aSOFTWARE_NAME and aSOFTWARE_WHIP_DESC => aSOFTWARE_DESC + DietPi-Software | When looping through all existing software titles, loop through aSOFTWARE_NAME, as aSOFTWARE_INSTALL_STATE can have an old saved value from .installed even if the software title has been dropped from DietPi-Software.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Status: testing
Fixes: #2641
Commit list/description: