From owner-freebsd-hackers Sun Jul 22 2:33:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elm.phenome.org (elm.phenome.org [194.153.169.3]) by hub.freebsd.org (Postfix) with ESMTP id 7B4F537B403; Sun, 22 Jul 2001 02:33:45 -0700 (PDT) (envelope-from joshua@roughtrade.net) Received: from localhost (joshua@localhost [127.0.0.1]) by localhost (8.12.0.Beta7/8.12.0.Beta7/Debian 8.12.0.Beta7-1) with ESMTP id f6M9XiCC020292; Sun, 22 Jul 2001 10:33:44 +0100 Date: Sun, 22 Jul 2001 10:33:44 +0100 (BST) From: Joshua Goodall X-X-Sender: To: , Subject: flags on symlinks Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is there a particular reason why there's no capability for setting flags on symlinks? the chflags syscall uses namei with FOLLOW, and changing this to NOFOLLOW allows chflags(2) to Do What I Want (i.e. SF_IMMUTABLE on a VLNK) is there a filesystem train crash awaiting me for doing this, or am I in the clear? I realise it changes the semantics of chflags(1) so an alternative syscall or a follow/nofollow boolean addition to struct chflags_args is better than this hack. regards joshua To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message