IBM Support

IV49295: RCP IS UNABLE TO COPY RELATIVE FILE WHEN ROOT SQUASHING ENABLED.APPLIES TO AIX 7100-01

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If a non-root user tries to copy file in a relative path,
    where root is mapped to nobody, rcp fails.
    
    $ pwd
    /mygpfs/rsimon_files/c
    $ rcp afile <hostname>:/tmp/bfile
    rcp: /afile: No such file or directory
    
    This happens in a case of gpfs/nfs mounted filesystem
    where root squashing is enabled ie mapped to nobody.
    
    Using absolute path works fine.
    $ rcp /mygpfs/rsimon_files/c/afile <hostname>:/tmp/afile
    

Local fix

  • Use absolute path:
    
    > pwd
    /mygpfs/rsimon_files/c
    > rcp /mygpfs/rsimon_files/c/afile <hostname>:/tmp/afile
    

Problem summary

  • If a non-root user tries to copy file in a relative path,
    where root is mapped to nobody, rcp fails.
    
    $ pwd
    /mygpfs/rsimon_files/c
    $ rcp afile <hostname>:/tmp/bfile
    rcp: /afile: No such file or directory
    
    Using absolute path in rcp command works fine.
    

Problem conclusion

  • When user tries to copy a file in the relative path,
    the path name is expanded with correct current working
    directory. This causes rcp to find the file and resolves
    the problem.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV49295

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-09-18

  • Closed date

    2013-09-18

  • Last modified date

    2014-02-17

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

    IV46150

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

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U861227

       UP14/02/14 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 February 2014