|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2271 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 2271.
Report 2271 Actions
Problem Report Number 2271 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1160 Raised 2003-08-12 07:31 Updated 2003-08-14 01:31 Published 2003-08-14 01:31 Product Standard Commands and Utilities V3 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSC version 5.2.3 Test Identification /tset/XOPEN.cmd/uucp/uucp.ex 1028 Specification Commands and Utilities Issue 5 Problem Summary This test may fail, because there is no write permission to
/var/spool/uucppublic/uucp_dir_28_1, when the above destination
directory is created
by testsuite. So, when uucp tries to copy multiple files this
destination directory, the permission deniedProblem Text A small work around is shown below to justify the problem summary.
$ hostname
isv179
$ pwd
/tet/vsc
$ touch a
$ touch b
$ which uucp
/usr/bin/uucp
$ ls -l /var/spool/uucppublic
total 2
drwxrwxrwx 3 vsc0 vscg0 512 Jul 16 18:15 receive
$ mkdir /var/spool/uucppublic/uucp_dir_28_1
$ ls -ld /var/spool/uucppublic/uucp_dir_28_1
drwxr-xr-x 2 vsc0 vscg0 512 Aug 11 15:25
/var/spool/uucppublic/uucp_dir_28_1
$ uucp a b isv179!~/uucp_dir_28_1
permission denied
uucp failed partially: 0 file(s) sent; 1 error(s)
$ echo $?
1
$
The above problem happens, when there is no 777 permission for the
directory /var/spool/uucppublic/uucp_dir_28_1. But, when we change the
permission of the directory as shown below, the following is observed.
$ chmod 777 /var/spool/uucppublic/uucp_dir_28_1
$ ls -ld /var/spool/uucppublic/uucp_dir_28_1
drwxrwxrwx 2 vsc0 vscg0 512 Aug 11 15:25
/var/spool/uucppublic/uucp_dir_28_1
$ uucp a b /var/spool/uucppublic/uucp_dir_28_1
$ echo $?
0
$ ls -l /var/spool/uucppublic/uucp_dir_28_1
total 0
-rw-r--r-- 1 vsc0 vscg0 0 Aug 11 16:04 a
-rw-r--r-- 1 vsc0 vscg0 0 Aug 11 16:04 b
Now uucp is successful in Copying multiple files to a destination
directory. Hence a test-suite deficeincy is observed. A waiver is
requested for this problem.Test Output When the test gets executed, the following is observed
400|200 1028 1 04:28:23|IC Start
200|200 28 04:28:23|TP Start
520|200 28 3964 1 1|Assertion #1028 (A): ~/destination is treated as
filename for multiple files
520|200 28 3964 2 1|Expected exit code = 0; Received 1
520|200 28 3964 2 2|Standard error isn't empty
520|200 28 3964 2 3|Contents of out.stderr:
520|200 28 3964 2 4|permission denied
520|200 28 3964 2 5|uucp failed partially: 0 file(s) sent; 1 error(s)
520|200 28 3964 2 6|Command failed: '[ -f
/var/spool/uucppublic/uucp_dir_28_1/uucp_src_28_1 ]'
520|200 28 3964 2 7|Command failed: '[ -f
/var/spool/uucppublic/uucp_dir_28_1/uucp_src_28_2 ]'
220|200 28 1 04:29:39|FAIL
410|200 1028 1 04:29:39|IC EndReview Information
Review Type TSMA Review Start Date 2003-08-12 07:31 Last Updated 2003-08-13 18:53 Completed 2003-08-13 18:53 Status Complete Review Recommendation Test Suite Deficiency (TSD) Review Response The test has been fixed so that the destination directory is
made writable after being created.
Similar problems have also been fixed in tests 1027 and 1031.
Review Type SA Review Start Date 2003-08-13 17:53 Last Updated 2003-08-14 01:31 Completed 2003-08-14 01:31 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion A test suite deficiency is granted.
Problem Reporting System Options:
- View Report 2271
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority