Opened 9 years ago

Closed 8 years ago

#180 closed defect (fixed)

rpm: cannot upgrade/downgrade read only exe files

Reported by: Yuri Dario Owned by:
Priority: major Milestone:
Component: rpm Version:
Severity: low Keywords:
Cc:

Description

If an exe file is read only and locked it cannot be upgraded, e.g. happens with cupsd.exe

Error unpacking rpm package 1:cups-2.1.3-3.oc00.pentium4
errore: estrazione archivio fallita sul file /@unixroot/usr/sbin/cupsd.exe: cpio: rename

Change History (4)

comment:1 by Silvan Scherrer, 9 years ago

there is also issue #1, which deals with locked files.

comment:2 by Silvan Scherrer, 9 years ago

with the next cups rpm, this is fixed as I changed file permission.
but it's still a general problem I'd say

comment:3 by Yuri Dario, 9 years ago

The DosReplaceModule() api is not working if files have read-only attribute.

rpm: remove read-only flag before unlocking modules. fixes ticket#180.
Committed revision r759.

comment:4 by Yuri Dario, 8 years ago

Resolution: fixed
Status: newclosed

spec: rpm, remove read-only flag before unlocking modules. fixes ticket#180.
Committed revision r795.

Note: See TracTickets for help on using tickets.