|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0721 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0721.
Report 0721 Actions
Problem Report Number 0721 Submitter's Classification Test Suite problem State Resolved Resolution Temporary Interpretation (TIN) Problem Resolution ID TIN.X.0012 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1998-05-08 08:00 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/find 1019 Specification Commands and Utilities Issue 5 Location in Spec See Problem Text Problem Summary TIN4C.00049 The submitter claims this test should not expect LARGE/find1019a.tmp to appear in the list of files printed to stdout. Problem Text
The test 1019 incorrectly validates the "LFS: find with inaccessible operand"`
assertion. The test case creates a subdirectory find1019a.tmp under a directory
for this test example will be called LARGE. The test case then creates another
subdirectory find1019b.tmp under LARGE and the a file 1019d.tmp under this
subdirectory resulting in a path ./LARGE/find1019b.tmp/1019d.tmp. The
subdirectory ./LARGE/find1019a.tmp has its permissions set to 000 which is
unsearchable. The test case then executes the following command:
find ./LARGE/find1019a.tmp ./LARGE/find1019b.tmp -print
The first expected result is ./LARGE/find1019a.tmp to be printed to stdout
which is incorrect this directory unsearchable and only an error message of
unable to read the directory should be written to stderr.
Test Output
10|1 /tset/POSIX.cmd/find/find.ex 13:05:38|TC Start, scenario ref 0-1, ICs
{1019} 15|1 1.10 1|TCM Start
400|1 1019 1 13:05:42|IC Start
200|1 1 13:05:42|TP Start
520|1 1 13039 1 1|Assertion #1019 (A): LFS: find with inaccessible operand
520|1 1 13039 1 11|Standard output isn't the same as file '1019.exp'
520|1 1 13039 1 12|diff of "out.stdout" and "1019.exp":
520|1 1 13039 1 13|*** out.stdout Fri May 1 13:05:43 1998
520|1 1 13039 1 14|--- 1019.exp Fri May 1 13:05:43 1998
520|1 1 13039 1 15|***************
520|1 1 13039 1 16|*** 1,2 ****
520|1 1 13039 1 17|--- 1,3 ----
520|1 1 13039 1 18|+ /wyoming/VSC/VSC501/LARGE/find1019a.tmp
520|1 1 13039 1 19| /wyoming/VSC/VSC501/LARGE/find1019b.tmp
520|1 1 13039 1 20| /wyoming/VSC/VSC501/LARGE/find1019b.tmp/1019d.tmp
220|1 1 1 13:05:45|FAIL
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 as written.
Using the example the submitter presents, ./LARGE/find1019a.tmp
should be printed to stdout. It and ./LARGE/find1019b.tmp are both
entries in the directory, LARGE. Since LARGE is searchable, they may
both be found. Since both are found they both must be printed.
It is the contents of ./LARGE/find1019a.tmp which will not be
printed. The test correctly anticipates this.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution No Resolution Given Review Conclusion
We are granting a Temporary Interpretation to move this
issue forward. It should also go for a 14 day review with
the Base Working Group. We recommend a Permanent Interpretation.
The specification appears to not be specific on this issue and
existing implementations perform in different ways.
For example:
mkdir tmpdir
mkdir tmpdir/subdir
chmod 000 tmpdir/subdir
find tmpdir -print
Some implementations print out
tmpdir
tmpdir/subdir
find: tmpdir/subdir: Permission denied
others print out
$ find tmpdir -print
tmpdir
find: Cannot read dir tmpdir/subdir: Permission denied
Review Type Expert Group Review Start Date null Completed null Status Complete Review Resolution No Resolution Given Review Conclusion
The group agrees with the X/Open initial response that a permanent
interpretation should be granted. However since this wording is
from POSIX.2 a POSIX interpretation request should be filed -
so this should remain as a TIN until that request is resolved.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Temporary Interpretation (TIN) Review Conclusion
A Temporary Interpretation is granted.
Problem Reporting System Options:
- View Report 0721
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority