Description of problem: Whenever I perform an rpm transaction on my computer, through yum or with rpm directly, I get at least one error message of the kind; error: failed to stat /home/daniel/public_html: Permission denied as is to be expected, with the transaction being run by root and the mount performed by my user (daniel). As far as I can tell it doesn't cause any actual failure, i.e. the transaction proceeds as it normally would, but from reading the code I suspect disk space calculations aren't performed, and the error messages are starting to fill up my cron job email (nightly yum). Version-Release number of selected component (if applicable): rpm-4.4.2-32 How reproducible: Always. Steps to Reproduce: 1. yum install fuse-sshfs 2. gpasswd -a <user> fuse 3. su - <user> 4. mkdir ~/test 5. sshfs <user>@<host>:<path> ~/test 6. exit 7. <perform rpm or yum transaction> Actual results: error: failed to stat /home/daniel/test: Permission denied Expected results: No error messages. Additional info: The attached patch is my half-hearted attempt at fixing it. I imagine it has unwanted side-effects I did not consider though.
Created attachment 144572 [details] Crude hack that fixes it for me
Yah, the crude hack looks like the right thing to do. rpm-4.4.8 is already skipping ESTALE errno's (common with clearcase, sigh), so my patch is slightly different than yours. Fixed in rpm cvs, should be in 4.4.8-0.9 when built. Thanks for the patch. UPSTREAM
*** Bug 240011 has been marked as a duplicate of this bug. ***
Upstream at rpm.org too...
Fixed in next rawhide push. F7 will inherit the fix eventually, FC6 probably not (as EOL is closing in) but not impossible.