googleearth
Nils Kassube
kassube at gmx.net
Sun Dec 7 16:10:06 UTC 2008
Derek Broughton wrote:
> Brian Norman Wootton wrote:
> > sudo chown -R $USER:$USER $HOME
> >
> > I had already done the above to no effect, but I did it again anyway
> > still no good.
> >
> > rm -Rf .config/Google
> >
> > The above did the trick, the chown -R.... left the Google dir still
> > owned by root:root mutter, mutter.
>
> LOL. Of course it did. _Normally_, $USER expands to your own user ID
> - but you can't use that under "sudo", because then your ID is "root"
IMHO "under sudo" is ambiguous. Just to clarify: The command doesn't work
if you are root already. But if you are the user the shell replaces
the "$USER" part with the user name before the sudo command is executed
and it should work as intended.
Nils
More information about the kubuntu-users
mailing list