ok this is my first post so please bear with me
i am in the process of encrypting all my drives so i put all my files that i wanted backed up on my new 4TB drive that i just bought and encrypted with LUKS.
i used the whole drive
when i mount it some files i could read and some i could not, this was a pain as i would watch shows off it as i was encrypting my old drives.
so i had the not so brillant idea as to chmod 764 to the directory i had the drive mounted to. i retrospect i think i shouldve use the chown command, my bad, lol.
but now the problem i am faced with is everything seems to be a file so i cant browse the drive
http://i1296.photobucket.com/albums/...ps4ed8aa72.png
i looked at it in a terminal and there is no permissions for anything just a bunch of question marks
http://i1296.photobucket.com/albums/...ps1d796adf.png
now my question is can i reverse these permission to what they used to be from a command, like undo-chmod, lol
or how do i get the folders to go back to being browsable like normal
i was considering photorec but i have never used it and my source drive is 4TB and all my other drives are 2TB
any help on the matter would be appriecated as i do not want to loose these files that i have spent 10+ years acquiring
[UPDATE]
i solved my problem
i had to open a root terminal and use chown - R <username> <directory_where_drive_mounted> and i also used chgrp - R <username> <directory_where_drive_mounted>
after i did that i found that the permissions were actually applied like i initailly wanted