From owner-freebsd-questions Wed Oct 3 12:37: 1 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 5788037B405 for ; Wed, 3 Oct 2001 12:36:58 -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 061726783; Wed, 3 Oct 2001 15:36:09 -0400 (EDT) From: Tim Singletary MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15291.26813.915555.640978@macaw.hq.vetinsite.com> Date: Wed, 3 Oct 2001 15:36:29 -0400 To: Fernando Gleiser Cc: Tim Singletary , Subject: Re: hard link and schg flag ? In-Reply-To: <20011003153816.C20900-100000@cactus.fi.uba.ar> References: <15291.22966.892426.726912@macaw.hq.vetinsite.com> <20011003153816.C20900-100000@cactus.fi.uba.ar> 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 > if the inmutable flags afects the inode rather than the contents of the file > this is a feature, since creating a new hardlink increases the link count I suspect this is correct. But I can't find good documentation for this. In particular, ln fails with `Operation not permitted'. I haven't looked at the source code, but I'll guess this is because link() failed with EPERM. But `man 2 link' says that EPERM occurs when `The file named by _name1_ is a directory', and that's clearly not what's happening here! tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message