From owner-freebsd-questions Wed Oct 3 11:32:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail-fwd.verio-web.com (mail11b.verio-web.com [161.58.148.19]) by hub.freebsd.org (Postfix) with SMTP id 5B63837B403 for ; Wed, 3 Oct 2001 11:32:35 -0700 (PDT) Received: from 161.58.69.119 (161.58.69.119) by mail11b.verio-web.com (RS ver 1.0.60s) with SMTP id 061861176 for ; Wed, 3 Oct 2001 14:32:01 -0400 (EDT) From: Tim Singletary MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15291.22966.892426.726912@macaw.hq.vetinsite.com> Date: Wed, 3 Oct 2001 14:32:22 -0400 To: freebsd-questions@freebsd.org Subject: hard link and schg flag ? X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid X-Loop-Detect: 1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On a 4.4-RELEASE system, I'm trying to understand # ls -ol /bin/rcp -r-sr-xr-x 1 root wheel schg 244712 Oct 1 17:20 /bin/rcp # ln /bin/rcp /eraseme ln: /eraseme: Operation not permitted # ls /eraseme ls: /eraseme: No such file or directory It appears that I can't hard link a file whose schg flag is set. I've checked `man 1 ln', man 2 link', `man 1 chflags', and `man 2 chflags' but can't find any good clues about what's happening. Is this a bug or a feature? Thanks, tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message