I am trying to understand what the precedence and combination of the permission options set in
fstab when mounting a disk with those that are associated with each file on disk in the case of ext4 being the file-system in use.
- exec and executable flag
- suid and suid flag
- defaults vs nothing at all
For instance does
fstab mean that the files will have read and write permissions when mounted?
What will happen if they have only read associated with the file?
Do the mount options affect the permissions of the mounted files as stored on on disk? Or do they filter them out somehow keeping only what is allowed in both?
What happens to files newly created on the mounted disk?
There are many different articles out there, about linux permissions particular subject, but none of those I stumbled upon tackles the issue in its entirety.
If someone has a link to such an article it would be very nice to share it!