[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chown question



Johannes Wiedersich wrote:
> Douglas A. Tutty wrote:
>> I know that I could have used find to look for all files owned by the
>> old UID, plunked it through xargs and chowned them that way, but is
>> there a way, as root, to chown directly the hidden files without
>> chowning the whole box?
> 
> Instead of
>> root@plot:/home/dtbrowser# chown -R dtbrowser.dtbrowser .*
> 
> do
> root@plot:/home/dtbrowser# chown -R dtbrowser.dtbrowser /home/dtbrowser/.*

Hi Johannes,

Wouldn't the shell still expand the argument list to include
'/home/dtbrowser/..' and result in the same problem?

- Chris B


Reply to: