Summary
chmod of modules.db on new installation
Metadata
- Id: 16ae9e73a310adbef74d9e4b5a05aa04128e38e7
- Trac id: 1305
- Type: defect
- Reporter: retroj
- Owner: mario
- Cc:
- Status: accepted
- Component: build system
- Estimated difficulty: easy
- Resolution:
- Priority: major
- Milestone: someday
- Version: 4.11.0
- Changetime: 2026-08-14 21:40:30 UTC
- Created: 2016-07-17 00:44:49 UTC
- Keywords:
Description
I use a umask of 0027 on my debian system, so files created with my user account have no 'other' permissions by default. I built and installed CHICKEN 4.11.0 as follows:
$ make PLATFORM=linux PREFIX=/usr/local $ sudo make PLATFORM=linux PREFIX=/usr/local install
The file /usr/local/lib/chicken/8/modules.db was installed with the following permissions:
-rw-r----- 1 root staff 50046 Jul 16 16:18 /usr/local/lib/chicken/8/modules.db
This prevents chicken-install from working properly.
Changes and comments
[2016-08-25 20:45:34 UTC] sjamaan set difficulty to easy
[2026-08-14 21:37:45 UTC] mario set owner to mario
[2026-08-14 21:37:45 UTC] mario changed status from new to accepted
[2026-08-14 21:40:30 UTC] mario wrote:
I can reproduce the issue on CHICKEN 6.0.0. As discussed with Felix in IRC, we should explicitly set the file mode at installation time, probably from the Makefile.