Ticket #99 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

RPM gives an cpio error on unwritable files


Reported by: FlorianFesti Assigned to: pmatilai Priority: minor Milestone:
Component: rpm Version: RPM Development Keywords: Cc:


Description

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.

Change History

11/20/09 14:05:04 changed by pmatilai

  • status changed from new to closed.
  • resolution set to fixed.

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.