Last active
September 6, 2015 18:21
-
-
Save mxwell/bad02fd21a017e60c998 to your computer and use it in GitHub Desktop.
Set permission for files in RPM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# It's useful, if you got warnings like this in SailfishOS SDK validation tool: | |
# WARNING [/usr/share/icons/hicolor/86x86/apps/harbour-<app>.png] File must not be executable (current permissions: 755) | |
... | |
%files | |
%defattr(755,root,root,-) | |
%{_bindir} | |
%defattr(644,root,root,-) | |
%{_datadir}/applications/%{name}.desktop | |
%{_datadir}/%{name} | |
%{_datadir}/icons/hicolor/86x86/apps/%{name}.png | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment