Provided are a method, system, and program for managing retention of
stored objects. A modification request is received with respect to a
stored object. A determination is made as to whether a retention
protection mechanism is set and a storage policy associated with the
stored object is processed to determine whether the stored object has
expired according to the storage policy in response to determining that
the retention protection mechanism is set. The modification request is
allowed to proceed in response to determining that the stored object has
expired.