Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2001 22:20:02 -0800 (PST)
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/25018: lstat(2) returns bogus permissions on symlinks
Message-ID:  <200102120620.f1C6K2O16726@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/25018; it has been noted by GNATS.

From: Bruce Evans <bde@zeta.org.au>
To: mkamm@gmx.net
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/25018: lstat(2) returns bogus permissions on symlinks
Date: Mon, 12 Feb 2001 17:11:43 +1100 (EST)

 On Sat, 10 Feb 2001 mkamm@gmx.net wrote:
 
 > >How-To-Repeat:
 > 
 > (umask 321 && ln -s "have strange but nontheless nonexistant perms" symlinks)
 > ls -l symlinks
 > 
 > The permissions shown reflect the umask value at the time of the
 > symlink(2) call rather than the more intuitive "lrwxrwxrwx" or
 > in case of mount -onosymfollow "l---------".
 
 Fixing this makes lchmod(2) more useless than it already is :-).
 
 Bruce
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102120620.f1C6K2O16726>