[Rpm-maint] [rpm-software-management/rpm] Only fallback to read-only locking for errno==EACCES (#356)

Alan Jenkins notifications at github.com
Sun Nov 12 15:57:52 UTC 2017


instead of for errno!=EROFS.
File creation could be also denied due to ENOSPC, for example.

Errors are generally easier to troubleshoot / debug if we abort early.
It's not so great to throw away e.g. ENOSPC and continue in read-only mode.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/356

-- Commit Summary --

  * Only fallback to read-only locking for errno==EACCES

-- File Changes --

    M lib/rpmlock.c (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/356.patch
https://github.com/rpm-software-management/rpm/pull/356.diff

-- 
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/pull/356
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20171112/8c179502/attachment.html>


More information about the Rpm-maint mailing list