I formatted an external hard drive with an ext4 partition and subsequently mounted it. So that I could use the new partition, I did:
sudo chown me:me /mount/directory to change the file owner and group from root to me, which worked fine.
This change is persistant, so I wonder where this information is stored. If I detach the hard drive then mount it to a different directory, I'm still set as the file owner and group, so the information can't be stored in the mount directory's inode.
So does the whole partition have its own inode where this sort of information is stored, and if so, is there a way to view it? Or is there perhaps another place where the information gets stored?