Skip to content

fix creation lock up ?#1

Open
sharkopen wants to merge 10 commits intopasnox:masterfrom
sharkopen:patch-1
Open

fix creation lock up ?#1
sharkopen wants to merge 10 commits intopasnox:masterfrom
sharkopen:patch-1

Conversation

@sharkopen
Copy link

@sharkopen sharkopen commented Jul 28, 2023

fix creation lock up?

What is the purpose of this change?

Was the change discussed in an issue or in the forum before?

Checklist

  • I have read the contribution guidelines.
  • I have added tests for all changes in this PR if appropriate.
  • I have added documentation for the changes if appropriate.
  • All commit messages are in house style.
  • I'm done, this Pull Request is ready for review :-)

pasnox and others added 10 commits June 11, 2023 17:31
This will be used to enable links support for the various mount engines
in a follow up commit.
We enable symlink support using the --links command line switch.
On the VFS layer, symlinks always ends with the rclonelink suffix.
This is because it is what we send/get to/from the remote layer.
That mean than any regular operation like rename, remove etc on
symlinks files always need to have their rclonelink suffix.
That way, we don't mess the internal map of items and avoid lots of
troubles.
When symlink support is disabled, Symlink and Readlink functions will
transparently manage ".rclonelink" files as regular files.
We enable symlink support using the --links command line switch.
When symlink support is enabled, the mount backends will translate
the name of the vfs symlinks files (truncating their rclonelink suffix).
Also, operations like rename, symlink etc does not needs the rclonelink
suffix, it is handled internally to pass it to the underlying low level
VFS.
When symlink support is disabled, Symlink and Readlink functions will
transparently manage ".rclonelink" files as regular files.

Fixes rclone#2975
fix creation lock up?
@sharkopen sharkopen changed the title Update dir.go fix creation lock up ? Jul 28, 2023
@ncw ncw force-pushed the master branch 2 times, most recently from ef0a7ef to d8b4885 Compare October 20, 2024 17:17
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