-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
chmod: add support for the deref and links options #7025
Conversation
9c02aba
to
05d59bf
Compare
@jfinkels what I was mentioning yesterday |
GNU testsuite comparison:
|
d06f8ea
to
d93b699
Compare
GNU testsuite comparison:
|
it is the last failing test for chmod: I also noticed this problem upstream: |
I will simplify the tests later. I think they could be merged |
GNU testsuite comparison:
|
GNU testsuite comparison:
|
GNU testsuite comparison:
|
@cakebaker ping? |
GNU testsuite comparison:
|
@sylvestre ok, I will have a look at it :) |
tests/by-util/test_chmod.rs
Outdated
set_permissions(at.plus(target), Permissions::from_mode(0o664)).unwrap(); | ||
at.symlink_file(target, symlink); | ||
|
||
// Use --no-dereference: should modify the symlink itself |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment is a bit misleading because the permissions of the symlink itself remain the same.
GNU testsuite comparison:
|
GNU testsuite comparison:
|
Great, good job :) |
Closes: #7023