Skip to content
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

profiles: move read-only config entries to disable-common.inc #5763

Merged
merged 6 commits into from
Apr 6, 2023

Conversation

kmk3
Copy link
Collaborator

@kmk3 kmk3 commented Mar 28, 2023

This should reduce duplication and increase hardening a bit.

Relates to #1642 #5635 #5706 #5707 #5710.

Cc: @pirate486743186 (from #5706 #5707 #5710)

They are already present on etc/inc/disable-common.inc.

First added on commit 695b67f ("handle ~/.config/user-dirs.dirs",
2015-11-17).
Note: mpv itself does not modify anything in ~/.config/mpv as far as I
know, in which case it does not need a read-write entry.

Relates to netblue30#5706 netblue30#5707 netblue30#5710.
etc/profile-a-l/firefox.profile Outdated Show resolved Hide resolved
Instead of duplicating them on every profile that tries to allow opening
links in Firefox.

And make that path read-write on firefox.profile.
This is an AUR helper and disable-common.inc has entries for pacman and
other system package managers.

Added on commit 6c10737 ("archaudit-report and cower for Arch
platforms, netblue30#1642", 2017-11-15).
Command used to search for entries:

    $ git grep '^read-only ${HOME}/' -- 'etc/profile*'

Note for gpg: ~/.gnupg/gpg.conf is apparently only managed by gpgconf(1)
rather than through gpg(1) itself, in which case it does not need to be
made read-write in gpg.profile.
Copy link
Collaborator

@glitsj16 glitsj16 left a comment

Choose a reason for hiding this comment

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

LGTM. A single typo change and we can bring this in IMO.

@netblue30 netblue30 merged commit 92a7ad7 into netblue30:master Apr 6, 2023
@netblue30
Copy link
Owner

all merged!

@kmk3 kmk3 deleted the profiles-mv-readonly branch April 6, 2023 15:47
kmk3 added a commit that referenced this pull request Mar 25, 2024
@kmk3 kmk3 added this to In progress in Release 0.9.74 via automation Mar 25, 2024
@kmk3 kmk3 moved this from In progress to Done (on RELNOTES) in Release 0.9.74 Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Release 0.9.74
  
Done (on RELNOTES)
Development

Successfully merging this pull request may close these issues.

None yet

4 participants