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

🐛 local driver: Preserve file owner when copying #7528

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Conversation

Rirmach
Copy link
Contributor

@Rirmach Rirmach commented Nov 20, 2024

Fix issue when user specified for running alist is different from the owner of file(s) being copied/moved in local filesystem, causing the file(s) owner changed unexpectedly.
Optimal copy options (such as the size of copy buffer) may need further consideration , but until now it should be functional basically.

PS. We may consider using os.CopyFS (since 1.23) provided by standard library when it comes stable in the future.

@xhofe xhofe merged commit 25c5e07 into AlistGo:main Nov 21, 2024
3 checks passed
long2005a1 added a commit to long2005a1/Long-Cloud that referenced this pull request Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants