Skip to content

⚠️ Should I change ownership of files in /usr/local/share/locale? #8

Description

@elisencode

Should I change ownership of files in /usr/local/share/locale?

/usr/local/share/locale contains directories which have mostly two-letter names (language name abbreviations?), each of which has a LC_MESSAGES directory that contains a gnupg.mo file.
Shouldn't things like localized strings be owned by root and not writable to normal users?
UPDATE: I'm going to set the group ownership to admin and do chmod g+w, which should make them writable for me. I still would like an answer as to what the best thing to do is.

1 Answer

Whatever, setting locale files to group writable is perfectly safe. A malicious script could in theory change the spanish translation of whatever tool it is that got installed there before Homebrew: not the end of the world.

Update: The best thing to do is to figure out whose files they are and then delete them and use brew to install whatever it is that you just deleted. ⚠️ Mixing /usr/local with brewed and unbrewed stuff is not a good idea unless you know what you are doing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions