Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files: Move operation returns error even operation was performed. #128

Open
scblack321 opened this issue Sep 19, 2023 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@scblack321
Copy link
Contributor

WMA discovered case where a move operation was performed but Tapis returned this error:
FILES_NOT_AUTHORIZED. Tenant: portals OboUserId: sal SystemId: frontera Path: home1/05089/sal/1TAC2C.B.jpg Permission: READ

Problem appears to be related to attempt to update permissions in SK after the move is performed.
Bug was most likely introduced when adding support for sharing file paths.
See class FileOpsService.java, method:

public void moveOrCopy(@NotNull IRemoteDataClient client,  @NotNull MoveCopyOperation op,
                         @NotNull String srcRelPathStr, @NotNull String dstRelPathStr)

On line approx 574 calls method: permsService.replacePathPrefix(oboTenant, oboUser, sysId, srcRelPathStr, dstRelPathStr);

@scblack321 scblack321 added the bug Something isn't working label Sep 19, 2023
@dvernon-tacc dvernon-tacc moved this from Develop to Staging in Tapis Project Beta Board Sep 26, 2023
@dvernon-tacc dvernon-tacc moved this from Staging to Done/Production in Tapis Project Beta Board Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants