Bug 65047 - be more specific on permission right problems
Summary: be more specific on permission right problems
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 9
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 9.0.31
Hardware: All Linux
: P2 normal (vote)
Target Milestone: -----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-02 11:52 UTC by Ralf Hauser
Modified: 2021-01-04 15:30 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Hauser 2021-01-02 11:52:15 UTC
catalina.out says

<<[2021-01-02 12:44:56] [info] 02-Jan-2021 12:44:56.117 SEVERE [main] org.apache.catalina.valves.AccessLogValve.open Failed to open access log file [/var/lib/tomcat9/logs/localhost_access_log.2021-01-02.txt]>>

however (on debian10)  
 sudo -u tomcat less /var/lib/tomcat9/logs/localhost_access_log.2021-01-02.txt
works

1) in this case, please say under which user java is running 
  (probably under "tomcat", but...)
Comment 1 Mark Thomas 2021-01-04 15:30:43 UTC
Fixed in:
- 10.0.x for 10.0.1 onwards
- 9.0.x for 9.0.42 onwards
- 8.5.x for 8.5.62 onwards
- 7.0.x for 7.0.108 onwards