We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rename
If the command being run has rename in it, while the renaming target is an existing directory, try gives EXDEV (Invalid cross-device link)
try
Potentially related to redirect_dir feature (https://docs.kernel.org/filesystems/overlayfs.html#renaming-directories)
To recreate:
Create rename.c:
rename.c
#include <stdio.h> #include <unistd.h> int main(void) { int ret; ret = link("x", "y"); printf("link ret=%d\n", ret); ret = unlink("x"); printf("unlink ret=%d\n", ret); }
Then do the following:
$ gcc rename.c -o rename $ mkdir x $ ./rename rename: Success $ rmdir y; mkdir x $ try ./rename rename: Invalid cross-device link
The text was updated successfully, but these errors were encountered:
Can i pick this up? Assign to me if possible :)
Sorry, something went wrong.
Sure thing, please make a PR when it's ready.
kwakubiney
No branches or pull requests
If the command being run has
rename
in it, while the renaming target is an existing directory,try
gives EXDEV (Invalid cross-device link)Potentially related to redirect_dir feature (https://docs.kernel.org/filesystems/overlayfs.html#renaming-directories)
To recreate:
Create
rename.c
:Then do the following:
The text was updated successfully, but these errors were encountered: