Derek Broughton news at
Sun Dec 7 16:59:37 UTC 2008

Nils Kassube wrote:

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

Oops.  My mistake - of course you're right (and this time I checked it).  
Which leads one to wonder what Brian actually did.

More information about the kubuntu-users mailing list