IBM Support

IV83311: CP -P ON ENCRYPTED FILE MAY GET EINVAL ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • The cp -p operation on an encrypted file may get
    an EINVAL error:
    $ cp -rp src_file tgt_file
    cp: tgt_file: Invalid argument
    
    The tgt_file length will be a bit smaller than the
    src_file length and the file size ulimit setting is
    the same as the src_file size or a bit larger.
    

Local fix

  • Increase the file size ulimit setting and retry the
    operation.
    

Problem summary

  • cp -p command on an encrypted file can get an EINVAL error if
    the ulimit has been set to just above the unencrypted size
    (i.e., the size displayed by ls -l on the file), but below
    the raw size (i.e., the unencrypted size rounded up to the
    FS block size)
    

Problem conclusion

Temporary fix

Comments

  • This APAR is being closed FIN. This means that a solution to
    this APAR is expected to be delivered from IBM in a release
    (if any) to be available within the next 24 months.
    

APAR Information

  • APAR number

    IV83311

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-04-04

  • Closed date

    2016-04-28

  • Last modified date

    2016-05-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IV84377

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11R"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
19 April 2022