I have used Ubuntu Linux for at least 10 years, and had a problem. So I re-installed 20.04 and forgot my 'user id' and gave it a new one. Installation went well, but all those disks not involved have the old user id.. I tried CHOWN a few times... complete failure.
What can I do, other than reinstall with the correct user id?
$ ls -n
will show the NUMERIC user and group ID's - for changing it on he newly created user. – Hannu Apr 09 '22 at 17:10