Commits
Click on a commit to change the comparison rangerm: don't treat symlinks as write-protected
Detect symlinks in prompt_file() using fs::symlink_metadata() and handle them differently:
- InteractiveMode::Always should still prompt with "remove symbolic link ...?".
- For all other interactive modes, do not follow the symlink target or use the target's permissions to decide a write-protected prompt.
Adds a unit test test_symlink_not_write_protected_prompt to verify that a symlink to a read-only file is not treated as a write-protected regular file.2 days ago
by GomesGoncalo