diff options
Diffstat (limited to 'lib/pos/get-pos.ts')
| -rw-r--r-- | lib/pos/get-pos.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/pos/get-pos.ts b/lib/pos/get-pos.ts index a77de247..77381a82 100644 --- a/lib/pos/get-pos.ts +++ b/lib/pos/get-pos.ts @@ -213,8 +213,8 @@ export async function accessNfsFile( }); // NFS 마운트 경로와 상대 경로를 결합 - // Download 폴더를 추가하여 전체 경로 구성 - const fullPath = path.posix.join(DOCUMENTUM_NFS_PATH, 'Download', normalizedRelativePath); + // NFS 마운트 경로(/mnt/nfs-documentum)가 이미 Download 폴더 내용을 포함하므로 Download 추가하지 않음 + const fullPath = path.posix.join(DOCUMENTUM_NFS_PATH, normalizedRelativePath); debugLog(`📍 NFS 전체 파일 경로 구성`, { fullPath }); // 경로 보안 검증 (디렉토리 탈출 방지) @@ -369,7 +369,8 @@ export async function testNfsAccess(): Promise<{ debugLog(`🧪 NFS 접근 테스트 시작`, { nfsPath: DOCUMENTUM_NFS_PATH }); // NFS 마운트 기본 경로 접근 테스트 - const testPath = path.posix.join(DOCUMENTUM_NFS_PATH, 'Download'); + // NFS 마운트 경로(/mnt/nfs-documentum)가 이미 Download 폴더 내용을 포함하므로 Download 추가하지 않음 + const testPath = DOCUMENTUM_NFS_PATH; debugLog(`🔍 테스트 경로 확인`, { testPath }); try { |
