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

Re: chown question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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/.*

[in one line]

Cheers,
Johannes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpM3xQACgkQC1NzPRl9qEW8wQCeMzJAwaoOYNmhw9Ue+2/MktrZ
8TwAn24qjU+bl7vypxSDDQpLk+4LVXDx
=vIsj
-----END PGP SIGNATURE-----


Reply to: