[Rpm-maint] [rpm-software-management/rpm] %defattr(644, root, root, 755) -> %_defaultdocdir gets perm 644 (#162)
Dominique Leuenberger
notifications at github.com
Mon Feb 20 22:20:28 UTC 2017
There seems to be a weird regression in rpm 4.13.
If a package contains
```
%files
%defattr*644,root,root,755)
%doc README
```
then the file README is copied to %{_defaultdocdir}/%{name} as expected, but said directory is assigned permission 644 (instead of 755). This used to work correct with rpm 4.12
rpm 4.12:
```
rpm -qlvp test-0-0.x86_64.rpm
drwxr-xr-x 2 root root 0 Feb 20 23:13 /usr/share/doc/packages/test
-rw-r--r-- 1 root root 11 Feb 20 23:13 /usr/share/doc/packages/test/dummy
```
rpm 4.13:
```
rpm -qlvp test-0-0.x86_64.rpm
drw-r--r-- 2 root root 0 Feb 20 23:19 /usr/share/doc/packages/test
-rw-r--r-- 1 root root 11 Feb 20 23:19 /usr/share/doc/packages/test/dummy
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/162
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170220/6cabe3e8/attachment-0001.html>
More information about the Rpm-maint
mailing list