Date: Wed, 3 Oct 2001 15:36:29 -0400 From: Tim Singletary <tsingle@vetinsite.com> To: Fernando Gleiser <fgleiser@cactus.fi.uba.ar> Cc: Tim Singletary <tsingle@vetinsite.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: hard link and schg flag ? Message-ID: <15291.26813.915555.640978@macaw.hq.vetinsite.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15291.26813.915555.640978>