From owner-freebsd-bugs Tue Oct 1 00:20:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA02932 for bugs-outgoing; Tue, 1 Oct 1996 00:20:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA02908; Tue, 1 Oct 1996 00:20:02 -0700 (PDT) Resent-Date: Tue, 1 Oct 1996 00:20:02 -0700 (PDT) Resent-Message-Id: <199610010720.AAA02908@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received:"from mail2.webspan.net (mail2.webspan.net [206.154.70.7]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA02595 for" ; Tue, 1 Oct 1996 00:14:22.-0700 (PDT) Received: from orion.webspan.net (root@orion.webspan.net [206.154.70.41]) by mail2.webspan.net (8.7.5/8.7.3) with ESMTP id DAA02473 for ; Tue, 1 Oct 1996 03:00:35 -0400 (EDT) Received: from localhost (gpalmer@localhost [127.0.0.1]) by orion.webspan.net (8.7.5/8.6.12) with SMTP id DAA20000 for ; Tue, 1 Oct 1996 03:00:25 -0400 (EDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.18]) by orion.webspan.net (8.7.5/8.6.12) with ESMTP id CAA19617 for ; Tue, 1 Oct 1996 02:55:52 -0400 (EDT) Received: (from nobody@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA01674; Mon, 30 Sep 1996 23:55:50 -0700 (PDT) Message-Id: <199610010655.XAA01674@freefall.freebsd.org> Date: Mon, 30 Sep 1996 23:55:50 -0700 (PDT) From: graphix@iastate.edu To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: bin/1700: 'ls -lo' does not list opaque flag (chflags does not allow a user to change this flag) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1700 >Category: bin >Synopsis: 'ls -lo' does not list opaque flag (chflags does not allow a user to change this flag) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 1 00:20:01 PDT 1996 >Last-Modified: >Originator: Kent Vander Velden >Organization: Iowa State University >Release: -current >Environment: FreeBSD pseudo.cc.iastate.edu 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Sun Sep 22 00:08:01 CDT 1996 root@pseudo.cc.iastate.edu:/usr/src/sys/compile/PSEUDO i386 >Description: I am not competely certain if this is a problem but 'ls -lo' does not list the state of the opaque flag on files. Our chflags also does not allow a person to set this flag. Our include file sys/stat.h makes a refernce to it implying perhaps that ls and chflags should know about it. >How-To-Repeat: >Fix: This patch (from comparing NetBSD's) to src/bin/ls/stat_flags.c should fix ls and chflags. The man pages to these two programs will need to have a line added as well though. src|Tue1:44am} cvs diff -r HEAD bin/ls/stat_flags.c Index: bin/ls/stat_flags.c =================================================================== RCS file: /usr/FreeBSD-CVS/src/bin/ls/stat_flags.c,v retrieving revision 1.2 diff -r1.2 stat_flags.c 73a74,75 > if (flags & UF_OPAQUE) > SAPPEND("opaque"); 129a132,134 > return (1); > case 'o': > TEST(p, "opaque", UF_OPAQUE); >Audit-Trail: >Unformatted: