Hi, Can someone tell me if following is the expected behavior of RPM? I am trying to figure out what happens when copying of files in the files list fail. Following is the files section from my example spec file. I am forcing a fail by making the RPM write to a read-only directory (/usr/lib/someapp/willfaildir) ################################## %files %defattr(-,root,root) /usr/lib/someapp/file1.txt /usr/lib/someapp/file2.txt /usr/lib/someapp/willfaildir/dirtyfile1.txt /usr/lib/someapp/willfaildir/dirtyfile2.txt /usr/lib/someapp/file3.txt /usr/lib/someapp/file4.txt ################################## What I notice is: RPM displays the following error message while coping the files. error: unpacking of archive failed on file /usr/lib/dell/willfaildir: cpio: stat failed - Permission denied Even after failing to unpack some of the files, RPM continues to unpack the rest in the files list. And when install is complete, there is no entry of this package in the RPM database, but the files are left on the machine!! 1. RPM copies the files file1.txt, file2.txt -- copied 2. RPM fails to copy to willfaildir because it is readonly directory dirtyfile1.txt, dirtyfile2.txt -- not copied 3. Copies the rest of the files file3.txt, file4.txt -- copied I do realize that I can test the rpm with --test option before actually installing it, but I want to know how rpm behaves when a file copy fails for some reason not necessarily the above. Thanks Prakash _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list