Skip to content

Comments

fix(rpm): remove system modification command from %install section#311

Open
eximius313 wants to merge 1 commit intofastforgedev:mainfrom
eximius313:fix/update-mime-database
Open

fix(rpm): remove system modification command from %install section#311
eximius313 wants to merge 1 commit intofastforgedev:mainfrom
eximius313:fix/update-mime-database

Conversation

@eximius313
Copy link

Fixes #308

The update-mime-database command was being executed in the %install section. This caused "Permission denied" errors during the build process because it
attempted to modify the host system's /usr/share/mime directory instead of the buildroot.

This command belongs in %post and %postun (which are already handled in #307), not in %install.

The `update-mime-database` command was being executed in the `%install` section.
This caused "Permission denied" errors during the build process because it
 attempted to modify the host system's `/usr/share/mime` directory instead of the buildroot.

This command belongs in `%post` and `%postun` (which are already handled), not in `%install`.
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.

[RPM] Build fails with "Permission denied" due to update-mime-database in %install

1 participant