You are viewing a plain text version of this content. The canonical link for it is here.
Posted to custos@airavata.apache.org by "yasithdev (via GitHub)" <gi...@apache.org> on 2026/06/09 06:35:24 UTC

[PR] fix(storage-service): move/symlink over SFTP instead of shell commands [airavata]

yasithdev opened a new pull request, #655:
URL: https://github.com/apache/airavata/pull/655

   ## Summary
   
   `UserStorageService.moveFile` and `createSymlink` ran `mv` / `ln -s` via `adaptor.executeCommand`, but the SFTP storage adaptor does not support command execution, so both failed with *"Command execution not supported on storage resources"* — the same class of bug just fixed for `deleteFile` (#654). Add `moveFile` (SFTP `rename`) and `createSymlink` (SFTP `symlink`) to the storage adaptor and call them.
   
   ## Validation
   
   - **Live against the running server:** moving a file relocates it (source gone, destination has the content); creating a symlink to a directory resolves through the link (listing the link shows the target's contents).
   - `mvn test -pl airavata-api/storage-service,airavata-api/compute-service` → 35 pass, 0 failures.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: custos-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(storage-service): move/symlink over SFTP instead of shell commands [airavata]

Posted by "yasithdev (via GitHub)" <gi...@apache.org>.
yasithdev merged PR #655:
URL: https://github.com/apache/airavata/pull/655


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: custos-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org