From: tsh@mrc-lmb.cam.ac.uk
Subject: beware chown
Date: Tue, 26 Aug 2003 13:40:53 +0100 (BST) [thread overview]
Message-ID: <200308261240.h7QCerg397261@alf1.lmb.internal> (raw)
Hi all,
I just discovered the hard way that the default action of
'chown' is to change the owner of the file pointed to
by a symlink, rather than change the owner of the symlink.
Wouldnt it be more sensible to make the default action the
safe one (i.e. change the owner of the symlink) rather
than the unsafe one?
Many users make symlinks in their own directories pointing
to system files, and a recursive chown down a user's
directory tree can cause mayhem...
Cheers,
Terry
Terry Horsnell (tsh@mrc-lmb.cam.ac.uk)
I.T. Manager
Medical Research Council
Lab of Molecular Biology
Hills Road
CAMBRIDGE CB2 2QH
U.K.
Phone: +44 (0)1223 248011
Fax: +44 (0)1223 213556
reply other threads:[~2003-08-26 12:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox