Skip to content

Fix uutils install incompatibility - #672

Merged
Cropi merged 1 commit into
USBGuard:mainfrom
ReillyBrogan:fix-install
Aug 31, 2026
Merged

Fix uutils install incompatibility#672
Cropi merged 1 commit into
USBGuard:mainfrom
ReillyBrogan:fix-install

Conversation

@ReillyBrogan

Copy link
Copy Markdown

The install binary provided by uutils-coreutils does not permit the mode to be specified twice. $(INSTALL_DATA) resolves to /usr/bin/install -c -m 644 on my system, which causes the install-tmpfiles target to run /usr/bin/install -c -m 644 -m 640 which causes install to throw an error. As there is no security benefit to removing the read permission from all for tmpfiles configs just remove the -m 640 to fix that.

While we're at it also use $(INSTALL_DATA) in a couple other places that could use it.

The install binary provided by uutils-coreutils does not permit the mode to be specified twice. `$(INSTALL_DATA)` resolves to `/usr/bin/install -c -m 644` on my system, which causes the `install-tmpfiles` target to run `/usr/bin/install -c -m 644 -m 640` which causes `install` to throw an error. As there is no security benefit to removing the read permission from all for tmpfiles configs just remove the `-m 640` to fix that.

While we're at it also use `$(INSTALL_DATA)` in a couple other places that could use it.

@Cropi Cropi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR!

@Cropi
Cropi merged commit 5575518 into USBGuard:main Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants