Overview

Request 869573 accepted

- Fix incorrect permission for documentation files.
Using %attr affects the documentation subdirectory permission.
Instead, the executable bit for doc files will be removed in
the %prep section.

Loading...

Christophe Giboudeaux's avatar

Before:

% ls /usr/share/doc/packages/unixODBC

ls: cannot access '/usr/share/doc/packages/unixODBC/NEWS': Permission denied

ls: cannot access '/usr/share/doc/packages/unixODBC/README': Permission denied

ls: cannot access '/usr/share/doc/packages/unixODBC/index.html': Permission denied

ls: cannot access '/usr/share/doc/packages/unixODBC/smallbook.gif': Permission denied

ls: cannot access '/usr/share/doc/packages/unixODBC/unixODBC.gif': Permission denied

ls: cannot access '/usr/share/doc/packages/unixODBC/AUTHORS': Permission denied

ls: cannot access '/usr/share/doc/packages/unixODBC/ChangeLog': Permission denied

After:

% ls /usr/share/doc/packages/unixODBC

AUTHORS ChangeLog index.html NEWS README smallbook.gif unixODBC.gif


Michael Vetter's avatar

Great! Thanks for this. Only thing is that the changelog is a bit strange. Would you mind formulating it a bit more neutral? "Strip executable permission in pre section. Remove faulty attr in files section. This causes..."


Request History
Christophe Giboudeaux's avatar

cgiboudeaux created request

- Fix incorrect permission for documentation files.
Using %attr affects the documentation subdirectory permission.
Instead, the executable bit for doc files will be removed in
the %prep section.


Michael Vetter's avatar

jubalh accepted request

Awesome! Thanks a lot!

openSUSE Build Service is sponsored by