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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0562 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 0562.


Report 0562 Actions


    Problem Report Number 0562
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0166
    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/mkfifo 19 30
    Problem Summary PG4C.00112 This is a duplicate of PIN4C.00020.
    Problem Text

    The expected result is incorrect for the above tests:

    for test1 in assertion 19 the test expects:

    pr-[A-Z-]rw[A-Z-]rw[A-Z-]

    However, the umask is set to 27 and the command executed is
    mkfifo -m +rw. On page 527 of the XPG5 spec, it states the following:

    "-m mode ... In the symbolic_mode strings, the op characters "+" and
    "-" will be interpreted relative to an assumed initial mode of
    a=rw."

    Thus for this test

    initial fifo mode rw-rw-rw-
    symbolic_mode + rw-rw-rw-
    intermediate mode rw-rw-rw-
    umask 27 ----w-rwx
    final mode rw-r-----


    We don't see how permissions for other of rw could ever be expected
    with a umask of 27

    similiarly for the second test in assertion 19; umask is 27, the
    command is mkfifo -m +x and the expected result is
    prw[a-z]rw[a-z]rw[A-Z-].

    initial fifo mode rw-rw-rw-
    symbolic_mode + --x--x--x
    intermediate mode rwxrwxrwx
    umask 27 ----w-rwx
    final mode rwxr-x---


    Similiarly for assertion 30: umask is u=rwx,g=rx,o=x (026), the
    command is mkfifo -m -w, and the expected result is
    pr-[A-Z-]rw[A-Z-]rw[A-Z-].

    initial fifo mode rw-rw-rw-
    symbolic_mode - -w--w--w-
    intermediate mode r--r--r--
    umask 26 ----w-rw-
    final mode r--r-----
    Test Output
    ***********************************************************************
    /tset/POSIX.cmd/mkfifo/mkfifo.ex 1 Failed


    Test Information:
    Assertion #19 (A): Check -m mode in general with nonzero umas
    <LC> k
    Command failed: 'expr "Xprw-r-----" : 'Xpr-[A-Z-]rw[A-Z-]rw[
    <LC> A-Z-]' >/dev/null 2>&1'
    Command failed: 'expr "Xprwxr-x---" : 'Xprw[a-z]rw[a-z]rw[A-
    <LC> Z-]' >/dev/null 2>&1'

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

    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.

    This is a duplicate of PIN4C.00020.

    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