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.
- Created by cgiboudeaux
- In state accepted
- Package maintainer: jubalh
- Supersedes 869555
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
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
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.
jubalh accepted request
Awesome! Thanks a lot!