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
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to