I am just curious because for ordinary user scripts I must check if the corresponding file is readable by the user and writable like this (just a snippet for the read operation):
if ! [ -r "$1" ]; then dump_args "$@" print_error__exit "! [ -r $1 ]" "The file is not readable by you!" fi
My question is: Is on the whole Linux (if must be, say Mint or Debian) system any file not readable or not writeable by root?
My belief, in general, is that root can do anything, but everything has limits, right,... which is why I am asking this question. Thank you.