Skip to content

fix: give target file all permissions on copy #53733

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Jun 30, 2025

Since the copy is spiritually a newly created file, the old permissions shouldn't affect it.

Fixes #52779

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added this to the Nextcloud 32 milestone Jun 30, 2025
@icewind1991 icewind1991 requested a review from a team as a code owner June 30, 2025 16:16
@icewind1991 icewind1991 requested review from ArtificialOwl, yemkareems and leftybournes and removed request for a team June 30, 2025 16:16
@icewind1991 icewind1991 added 3. to review Waiting for reviews 2. developing Work in progress and removed 3. to review Waiting for reviews labels Jun 30, 2025
@icewind1991
Copy link
Member Author

Failing tests are due to a check introduced with #41565 needs to be clarified what the correct behavior is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Copy file to a dir where Re-Sharing is enable still disallows Re-Sharing
1 participant