Is the file owned by the process’s effective (Tomcat web server)
Is the file owned by the process’s effective user ID? -G Is the file owned by the process’s effective group ID? File comparisons The syntax for file comparisons is test file1 option file2. A string by itself, without options, returns true if it’s at least one character long. -nt Is file1 newer than file2? Check modification, not creation, date. -ot Is file1 older than file2? Check modification, not creation, date. -ef Do the files have identical device and inode numbers? String tests The syntax for string tests is test option string. -z Is the string 0 characters long? -n Is the string at least 1 character long? = string Are the two strings equal? != string Are the strings unequal? Expression tests Note that an expression can consist of any of the previous tests. ! expression Is the expression false? expression -a expression Are the expressions both true? expression -o expression Is either expression true?