Re: changing user id for all files in a file system (corrected)
On Thu, 2006-06-15 at 16:00 +0100, George Borisov wrote:
> Stephen R Laniel wrote:
> >
> > That has to do with what's in /etc/sudoers, I imagine. When
> > I've gotten that error, it's meant that sudoers is
> > configured to only let me run one or two commands.
>
> By default it's not configured to allow you to run any at all, which is
> what I originally meant.
>
An idea: Can something like this work:
chown {new owner} `ls -l |grep {old-owner} |cut -f9 -d\ `
--
Szia:
Nyizsa.
Reply to: