[Klug-general] A cli for bulk owner changes?
Mike Evans
mike at tandem.f9.co.uk
Fri Oct 21 16:06:17 UTC 2011
This is exactly the sort of job where the command line is your friend -
and that is equally so in Windows/DOS also.
chown and chgrp will help you.
Assuming you want everything under /home/user to belong to user do
sudo chown -R user /home/user
sudo chgrp -R user /home/user
at least I think that's it - check the manual page as I don't have time
to do that right at the moment and this is from memory.
man chown
for example.
Mike
On 21/10/11 16:45, Michael E. Rentell wrote:
> Good day all,
> I've restored my entire partition from back-up (don't ask) and I find my
> /home/user/.thunderbird sub-directory is owned by root - every file. I
> can use thunderbird with sudo and it comes up just fine, but I'd like to
> change every file from root owner to mick owner. so as I can use it as
> previously.
>
> There's gotta be a cli for that but I don't have the nouse. Can anyone
> help?
>
> Ta
>
> MikeR
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
More information about the Kent
mailing list