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
Environment: Ubuntu 24.04, uutils main branch (git commit 2430e2a), GNU coreutils v9.6.8-fbfd88-dirty
main
Steps to reproduce: Create a link to a file that doesn't exist and then try to change the link's permissions with the -R flag:
-R
mkdir dir ln -s target dangling-link # target doesn't exist chmod 755 --no-dereference -R -P dangling-link
What happens now: uutils chmod terminates with an error message
chmod
chmod: cannot operate on dangling symlink 'dangling-link'
What I expected to happen: GNU chmod succeeds with no output.
Notes: With both uutils and GNU, the permissions of the link itself are not actually changed, but I think that's expected for symbolic links:
$ ls -l dangling-link lrwxrwxrwx 1 jeffrey jeffrey 6 Jan 26 10:51 dangling-link -> target
Also, the -R flag I think has no other effect in this test case, as there is no directory here to recurse into.
This is causing a failure in the GNU test file tests/chmod/symlinks.sh.
tests/chmod/symlinks.sh
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment: Ubuntu 24.04, uutils
main
branch (git commit 2430e2a), GNU coreutils v9.6.8-fbfd88-dirtySteps to reproduce: Create a link to a file that doesn't exist and then try to change the link's permissions with the
-R
flag:What happens now: uutils
chmod
terminates with an error messageWhat I expected to happen: GNU
chmod
succeeds with no output.Notes: With both uutils and GNU, the permissions of the link itself are not actually changed, but I think that's expected for symbolic links:
Also, the
-R
flag I think has no other effect in this test case, as there is no directory here to recurse into.This is causing a failure in the GNU test file
tests/chmod/symlinks.sh
.The text was updated successfully, but these errors were encountered: