Skip to content

SPEC: define default permissions for /var/cache/image-builder#454

Merged
lzap merged 1 commit intoosbuild:mainfrom
thozza:fix-cache-dir-spec
Feb 17, 2026
Merged

SPEC: define default permissions for /var/cache/image-builder#454
lzap merged 1 commit intoosbuild:mainfrom
thozza:fix-cache-dir-spec

Conversation

@thozza
Copy link
Member

@thozza thozza commented Feb 16, 2026

Not defining the permissions makes 'rpm --verify' complain, because it expects the directory to have no permissions at all.

$ rpm -qlv image-builder | grep /var/cache/image-builder
d---------    2 root     root                        0 úno  6 01:00 /var/cache/image-builder
$ rpm --verify image-builder
.M.......  g /var/cache/image-builder

Define the default expected permissions for the directory.

This is needed to fix downstream c9s CI test installability failure.

Not defining the permissions makes 'rpm --verify' complain, because it
expects the directory to have no permissions at all.

```
$ rpm -qlv image-builder | grep /var/cache/image-builder
d---------    2 root     root                        0 úno  6 01:00 /var/cache/image-builder
```

```
$ rpm --verify image-builder
.M.......  g /var/cache/image-builder
```

Define the default expected permissions for the directory.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
@thozza thozza requested a review from a team as a code owner February 16, 2026 15:05
@thozza thozza requested review from achilleas-k, bcl, lzap and supakeen and removed request for a team February 16, 2026 15:05
@lzap lzap added this pull request to the merge queue Feb 17, 2026
Merged via the queue into osbuild:main with commit ff5ab32 Feb 17, 2026
49 checks passed
@thozza thozza deleted the fix-cache-dir-spec branch February 17, 2026 08:52
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.

3 participants