I'm curious as to what happens to a file if let's say, it's permissions only allow the owner to read and write, and the group and everyone have no access at all. (700, or rwx------).
Let's say the file is on an external drive, so it's possible that the owner is no longer available because we have disconnected the drive and connected it to another computer. How am I able to access the files in this case? Can I still access them by logging in as a superuser?
On one hand, it'd be nice to be able to login to a superuser on any computer to access the file, because at least there's a backup plan if the original computer ever dies, etc. On the other hand, it seems like a security concern that anyone can technically access data on an external drive, or even an internal drive perhaps, by declaring themselves as a superuser.