https://bz.apache.org/bugzilla/show_bug.cgi?id=59314
Bug ID: 59314 Summary: the value of umask is 0022 in operation system Linux when executing the command 'umask' ,but it is 0027 in the file catalina.sh in tomcat9.0.0.M3 Product: Tomcat 9 Version: 9.0.0.M3 Hardware: HP OS: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: liule...@wefly.net.cn Created attachment 33756 --> https://bz.apache.org/bugzilla/attachment.cgi?id=33756&action=edit the value of the umask in Linux and file catalina.sh Problem: The value of umask is 0022 in Linux ,which means the default authority of a file is 644 when we create a file in Linux ;however,when I used Tomcate9.0.0.M3 run in Linux to upload a new file to a directory made in operation system Linux ,as result, I found the file uploaded that couldn't be accessed because of its property of right is -rw-r----(640) instead of -rw-r--r--(644). Solution:Commnenting the setting of umask value 0027 in file catalina.sh at number line from 241 to 245 in direction of tomcat bin in order to get the default value 0022 of operation system Linux when I upload a new file to server with tomcate9.0.0.M3. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org