From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e4d3a479a9953852 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-11-10 21:47:22 PST Newsgroups: comp.unix.osf.osf1 Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!gatech!swrinde!news.uh.edu!uuneo.neosoft.com!nmtigw!peter From: peter@nmti.com (Peter da Silva) Subject: Re: chown-oddities? Message-ID: Sender: peter@nmti.com (peter da silva) Organization: Network/development platform support, NMTI References: <39sn7h$gjl@hermes.uni-konstanz.de> Date: Thu, 10 Nov 1994 21:26:40 GMT In article <39sn7h$gjl@hermes.uni-konstanz.de>, Eberhard Heuser-Hofmann wrote: > I'm not sure if it's a feature of chown or a bug of OSF/1 V3.0: It's neither. It's an inevitable result of the file system design. ".*" expands to "all files beginning with "." which expands to ". .. .cshrc .login ...". Then "chown -r" takes each of these files and recursively chowns everything it finds. So it looks at "." and does ". ./* ./*/* ..." Then it looks at ".." and does "../ ../* ../*/* ..." By now you've chowned everything from the parent directory to "." onwards. > Remark: why is there no verbose-option in chown to see what happens? "find $args -print" will do that... I generally assume I don't have anything named ".a .b .c ..." and use ".??*". -- Peter da Silva `-_-' Network Management Technology Incorporated 'U` 1601 Industrial Blvd. Sugar Land, TX 77478 USA +1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?"