Date: Thu, 8 Jun 2000 13:52:32 -0500 From: "Jonathan Fosburgh" <fosburgh@flash.net> To: "Meagan Jia Pi" <meagan@e-lingo.com>, <questions@FreeBSD.ORG> Subject: Re: question about chown Message-ID: <023701bfd17a$cbb3b270$ca406f8f@mdacc.tmc.edu> References: <862568F8.0062581F.00@MCSMTP.MC.VANDERBILT.EDU> <058f01bfd178$5c380880$e293c83f@meagan>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Meagan Jia Pi" <meagan@e-lingo.com> To: <questions@FreeBSD.ORG> Sent: Thursday, June 08, 2000 1:35 PM Subject: question about chown > Greetings! > > A friend of mine logged in as root and did this under some user's home > directory: > > chown username .* > > trying to change ownership of all the hidden files, but a disaster happened: > he unintentionally > changed ownership for all the users' home directory to this paticular user. > > I understand the best way to do this is to go a directory above, and do > "chown -R username", > but I 'd like to find out why it happened that way. > > Thanks in advance. > > -Meagan > > .* matches .., which matches ../* ..., this is a good way to hose the entire system if performing chown -R .* or rm -rf .* ..... 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?023701bfd17a$cbb3b270$ca406f8f>