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

prevent cross space move #3035

Merged
merged 1 commit into from
Jul 7, 2022
Merged

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Jul 6, 2022

decomposedfs now prevents moving across space boundaries

fixes owncloud/ocis#4114

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic butonic self-assigned this Jul 6, 2022
@butonic butonic added the bug Something isn't working label Jul 6, 2022
@butonic butonic changed the title prevent cross storage move prevent cross space move Jul 6, 2022
@butonic butonic marked this pull request as ready for review July 6, 2022 13:41
@butonic butonic requested review from a team, labkode, ishank011 and glpatcern as code owners July 6, 2022 13:41
@labkode
Copy link
Member

labkode commented Jul 6, 2022

Maybe you should implement the move as "copy/remove" rather than forbidden this feature?
Is copying still possible?

@micbar
Copy link
Member

micbar commented Jul 6, 2022

Maybe you should implement the move as "copy/remove" rather than forbidden this feature? Is copying still possible?

Yes. COPY & DELETE works fine

@butonic
Copy link
Contributor Author

butonic commented Jul 7, 2022

@labkode the move is only forbidden for decomposedfs. It is technically possible, but requires moving all children, from one space to another, which is why I decided to forbid it for now. Other drivers are not affected.

@butonic butonic merged commit 82cae60 into cs3org:edge Jul 7, 2022
@butonic butonic deleted the prevent-cross-storage-move branch July 7, 2022 07:35
kobergj pushed a commit that referenced this pull request Jul 7, 2022
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
kobergj pushed a commit to kobergj/reva that referenced this pull request Jul 11, 2022
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
kobergj added a commit to kobergj/reva that referenced this pull request Jul 14, 2022
@micbar micbar mentioned this pull request Jul 19, 2022
36 tasks
@kobergj kobergj mentioned this pull request Dec 19, 2022
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
None yet
Development

Successfully merging this pull request may close these issues.

4 participants