user # access?

Colin Law clanlaw at gmail.com
Thu May 16 07:45:02 UTC 2019


On Thu, 16 May 2019 at 00:19, rikona <rikona at sonic.net> wrote:
>
> >
> > sudo chown -R <your user id or username> /path/to/old/disk/home
> >
> > This will make the disk readable.
>
> I just tried this on one of the Mandriva [501] disks. It had a separate
> home partition, so the disk shows up as 2 volumes. Trying to fix the
> home partition with:
> sudo chown -R 1001 /media/rik/6ab9df80-9f61-11d8-9c51-e5f8ab4ddba5
> did not seem to work. I can now see the 2 users in home BUT essentially
> everything inside the users is gone. The main user, with most of the
> stuff, has only tmp [empty, which may be correct], and 4 dot files -
> nothing else. What happened, and how can I get back the stuff that was
> likely there originally?

chown will not have removed anything.  What do you see if you run
sudo ls -l /media/rik/6ab9df80-9f61-11d8-9c51-e5f8ab4ddba5/home/<username>

Colin




More information about the ubuntu-users mailing list