Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73934 - [bmake] incorrect filesystem permissions on /usr/bin in package

Attached to Project: Community Packages
Opened by Dennis Herbrich (gyroplast) - Wednesday, 23 February 2022, 10:27 GMT
Last edited by Ivy Foster (escondida) - Wednesday, 02 March 2022, 23:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ivy Foster (escondida)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Installation of `bmake=20211221-2` prints warning due to conflicting directory permissions on `/usr/bin` between package and filesystem, with the package being overly permissive with `0775` instead of `0755`.

Additional info:
* package version: `20211221-2`

Steps to reproduce:
```
[gyroplast@vixen ~]$ sudo pacman -S bmake --noconfirm
warning: bmake-20211221-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) bmake-20211221-2

Total Installed Size: 0.51 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#####################################################################] 100%
(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
:: Processing package changes...
(1/1) reinstalling bmake [#####################################################################] 100%
warning: directory permissions differ on /usr/bin/
filesystem: 755 package: 775
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[gyroplast@vixen ~]$ tar -tvf /var/cache/pacman/pkg/bmake-20211221-2-x86_64.pkg.tar.zst |grep usr/bin
drwxrwxr-x root/root 0 2022-01-12 22:50 usr/bin/
-r-xr-xr-x root/root 215400 2022-01-12 22:50 usr/bin/bmake
[gyroplast@vixen ~]$ tar -tvf /var/cache/pacman/pkg/filesystem-2021.12.07-1-x86_64.pkg.tar.zst |grep usr/bin
lrwxrwxrwx root/root 0 2021-12-07 03:41 bin -> usr/bin
lrwxrwxrwx root/root 0 2021-12-07 03:41 sbin -> usr/bin
drwxr-xr-x root/root 0 2021-12-07 03:41 usr/bin/

```
This task depends upon

Closed by  Ivy Foster (escondida)
Wednesday, 02 March 2022, 23:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  in bmake-20220214-1

Loading...