安安 - catalina
type: channel
link: https://blog.90.vc/tag/catalina/
items: macOS升级到Catalina之后使用SecureCRT报错问题
items: 使用logrotate执行Tomcat日志的切分

macOS升级到Catalina之后使用SecureCRT报错问题
type: item
date: 2019-10-17T09:02:00+00:00
description: macOS 升级到 Catalina之后，使用SecureCRT报如下错误The permissions on the "/cores" directory need to be changed toinclude write permission for "other".Please execute (or ask an admin to execute) the following from aterminal window:sudo chmod go+w /coresIf you would prefer not to change the permissions on the /coresfolder, you can turn off the Global option "Create core file whenapplication crashes".应该是macOS的权限控制严格了，导致CRT没有权限访问/cores文件夹，这里关掉CRT崩溃时创建core转储文件即可Option --> Global Options 取消 Create core file when application crashes 前面的复选框选择即可

使用logrotate执行Tomcat日志的切分
type: item
date: 2018-11-01T10:29:04+00:00
description: 新建文件/etc/logrotate.d/tomcat/tomcat/logs/catalina.out { daily missingok rotate 180 compress delaycompress notifempty copytruncate create 640 root root }