When you connect another drive with another computer with Ubuntu on another PC with Ubuntu, the files will be available to train?

We have Ubuntu half dead, barely included, and with some bugs, he flew 1 disk Want the new drive to supply and install the new Ubuntu, and I want to connect the working disks from the old Ubuntu, when I connect there will be problems(I mean what will happen to the rights ? would available these files to me ?) ?
March 19th 20 at 08:45
1 answer
March 19th 20 at 08:47
Installing a new system, you will have full rights under sudo. This implies full rights to any locally connected hardware. Ie there is no problem to mount the file system from the old drive. Further, on the mounted FS using sudo you can change the owner (sudo chown-R ...) and / or to change access rights (sudo chmod-R ...)

For the sake of the universality of the response will mention another option. Depending on the situation you can not change the owner and access rights, and create a new system user with the same User ID, Group ID, as in the old system.
Yes, and by default will create the first user with the same UID as was the first user in the old system. Ie likely won't even have to look immediately after mounting will need a license.

Find more questions by tags Ubuntu