user # access?

rikona rikona at sonic.net
Wed May 15 23:16:58 UTC 2019


On Tue, 14 May 2019 23:20:39 -0400 (EDT)
Robert Heller <heller at deepsoft.com> wrote:

> At Tue, 14 May 2019 19:37:23 -0700 "Ubuntu user technical support,
> not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:
> 
> > 
> > Running Ubuntu 16.04 updated. I have a few disks from my older linux
> > comps, even way back to Mandriva :-), and I'd like to check for some
> > info on those disks. When I try to access them, I can't. Says owner
> > is user# 501, etc and I don't have any permissions. Tried installing
> > Nautilus-admin but that doesn't work either. How can I access my old
> > disks via a GUI so I can easily see all and copy some if necessary?
> > These will not be used to boot, so I don't mind altering those
> > disks if necessary. All have different users/passwords/OS if that
> > makes a difference.  
> 
> Well, you are not going to able to use a GUI out-of-the-box, unless
> you login to the GUI as root -- not something that is normally
> possible with an out-of-the-box install of Ubuntu (and is not
> something that is recomended even on a Linux distro with a real root
> login).
> 
> You are going to have do one of two things:
> 
> 1: Use a shell command like:
> 
> 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?

> OR
> 
> create additional usernames that have the sane UID as the files you
> want to look at.
> 
> > 
> > Tried a few I knew were from Mandriva - looks like they all use
> > 500+. Not good - I used MD for quite a while and have several
> > disks. :-(( Liked it a lot at the time, though.
> > 
> > 
> > 
> > 
> >   
> 





More information about the ubuntu-users mailing list