OpenSolaris

Printable Version Enter a New Search
Bug ID 4728216
Synopsis *keywords* emits incorrect error when SCCS file is unreadable
State 10-Fix Delivered (Fix available in build)
Category:Subcategory consolidation:os-net-tools
Keywords
Responsible Engineer Peter Memishian
Reported Against s10_16
Duplicate Of
Introduced In solaris_8
Commit to Fix snv_26
Fixed In snv_26
Release Fixed solaris_nevada(snv_26)
Related Bugs 6333929
Submit Date 8-August-2002
Last Update Date 8-June-2007
Description
The tools keywords reports an incorrect ident string when the SCCS file is
not readable. For example:

$ ls -l usr/src/SCCS/s.Makefile.master
-r--r--r--   1 ags      staff     136234 Jun 24 11:49 usr/src/SCCS/s.Makefile.master
$ keywords -p usr/src/Makefile.master
$ chmod 0 usr/src/SCCS/s.Makefile.master
$ ls -l usr/src/SCCS/s.Makefile.master
----------   1 ags      staff     136234 Jun 24 11:49 usr/src/SCCS/s.Makefile.master
$ keywords -p usr/src/Makefile.master
Incorrect ident string in usr/src/Makefile.master
$ type keywords
keywords is /opt/onbld/bin/keywords
$ what /opt/onbld/bin/keywords
/opt/onbld/bin/keywords:
        keywords.sh     1.9     01/08/03 SMI

Note the misleading error message "Incorrect ident string in usr/src/Makefile.master"
Work Around
Make the file readable (duh); much of our paradigm assumes global readability.
Comments
N/A