

Here is the code provided on the article mentioned above: In order to regain access to your drive mounted in the users /media/USER directory, once again, I recommend following the above article to make sure you correctly changed the UID of all your files both in and out of '/home/USER`, so naturally your drive should be plugged in. Your UID will not be changed automatically for any files outside of your /home/USER directory.


However, files outside user’s home directory "Please note that all files which are located in the user’s homeĭirectory will have the file UID changed automatically as soon as you Before reading on, you may want to refer to this article, it explains the process of changing your UID, and draws attention on how to assign a new UID to your user the correct way.
