Opened 6 years ago
Last modified 6 years ago
Reported by: FlorianFesti Assigned to: pmatilai
Priority: minor Milestone:
Component: rpm Version: RPM Development
Keywords: Cc:
It would be much nicer if RPM would detect unwritable directories or file system in advance and error out. Shouldn't be too expensive as we stat() everything anyway.
Done in https://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=5e26a8be7193a90612d800eadba46b417c1d4944, by a simple hack of making read-only filesystems appear as full. Of course it could be extended to specifically complain about read-only fs but me thinks read-only == full is a reasonable and simple mapping with practically no extra code.