chmod: add support for the deref and links options#7025
chmod: add support for the deref and links options#7025cakebaker merged 7 commits intouutils:mainfrom sylvestre:chmod-L-2
Conversation
|
@jfinkels what I was mentioning yesterday |
|
GNU testsuite comparison: |
|
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? |
Should fix tests/chmod/symlinks.sh
|
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.
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