HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0564 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 0564.


Report 0564 Actions


    Problem Report Number 0564
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0168
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Commands and Utilities V3 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSC version 5.0.1
    Test Identification POSIX.cmd/pax 1051
    Problem Summary PG4C.00109 This IR claims that an existing fifo should be overwritten.
    Problem Text
    This Test expects that UID and GID of the copied fifo to be
    preserved. However, according to page 584 of the XPG5 XCU,

    "-p string
    .
    .
    o preserve the user ID and group ID."

    GA11 uses the following line

    pax -rw -p am 1051.tmp $lfs_fs/pax1051.tmp

    If -p o is not used then the normal file creation action is
    taken as described in the XPG5 XSH page 570 under O_CREAT
    Test Output
    ***********************************************************************
    /tset/POSIX.cmd/pax/pax.ex 1 Failed


    Test Information:
    Assertion #1051 (A): LFS: ga11 - recreated files
    Expected exit code = 0; Received 1
    Standard output isn't empty
    Contents of out.stdout:
    Failure: expected FIFO UID = 3001, actual = 3000

    ***********************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    We believe the test is correct.

    The assertion is testing the following general assertion from
    the POSIX.2 standard.

    When a file that exists is re-created by a POSIX.2 {9}
    application, then the file attributes are set as follows:

    (1) When the file type is a directory or FIFO special file,
    then the attempt fails and the file attributes are not
    changed.

    (2) When the file type is a regular file, then the file is
    truncated to zero length and the st_ctime and st_mtime
    fields are updated. The user-ID, group-ID and permission
    bits associated with the file are unchanged.

    In this case, pax is overwriting the fifo file when it should not be doing do.
    The username being different on the created file is the first indication
    that the file has been changed, since pax has overwritten the file erroneously.


    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority