Re: changing user id for all files in a file system
On Wed, Jun 14, 2006 at 05:16:05PM -0400, Stephen R Laniel wrote:
> On Wed, Jun 14, 2006 at 05:07:35PM -0400, hendrik@topoi.pooq.com wrote:
> > chown --recursive onion: foo
> >
> > will change the owners of all the files in the foo file-tree to onion,
> > and change their gropu IDs accordingly. Leave off the colons if you
> > want them to stay in the old group.
>
> But this will change *all* the files, not just the files
> currently owned by user [blah]. Which is not what the
> original poster wanted.
>
That's right! I missed that bit of the requirement.
-- hendrik
Reply to: