You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
触发场景描述
在一台服务器不同用户下部署相同的应用 触发Bug的代码
public static void createPOIFilesDirectory() {
String tmpDir = System.getProperty(JAVA_IO_TMPDIR);
if (tmpDir == null) {
throw new RuntimeException(
"Systems temporary directory not defined - set the -D" + JAVA_IO_TMPDIR + " jvm property!");
}
File directory = new File(tmpDir, POIFILES);
if (!directory.exists()) {
syncCreatePOIFilesDirectory(directory);
}
}
触发场景描述
在一台服务器不同用户下部署相同的应用
触发Bug的代码
public static void createPOIFilesDirectory() {
提示的异常或者没有达到的效果
在linux下,打个比方在dev执行导出,会在tmp下创建poifiles文件夹,创建用户是dev,同时在test下执行导出,test用户没有poifiles文件夹权限导致io异常,报无权限,导致导出失败
The text was updated successfully, but these errors were encountered: