Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 1999 13:59:54 +0200 (CEST)
From:      "G.P." <G.P@chatcity.de>
To:        freebsd-stable@FreeBSD.ORG
Cc:        pruess@yamuna.dalai-nor.de (G P)
Subject:   symlink with mode
Message-ID:  <199909291159.NAA25634@yamuna.dalai-nor.de>

next in thread | raw e-mail | index | archive | help
Hi!
What peculiar feature is it, that symlinks have modes !=0777 depending on
the umask when they have been created?

# umask 0777
# ln -fs xx yy
# ls -l yy
l---------  1 pruess  sophie  2 Sep 29 13:54 yy@ -> xx
# umask 0000
# ln -fs xx yy
# ls -l yy
lrwxrwxrwx  1 pruess  sophie  2 Sep 29 13:55 yy@ -> xx

Of course the mode is inaccessible by chmod.

Thanks,
Gunnar
-- 


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




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