coreutils
coreutils copied to clipboard
shred -u does not work correctly on freebsd
test_shred_force is failing on freebsd because shred -u doesn't respect readonly flag.
If file.txt is readonly, shred -u file.txt should fail. That is the purpose of --force: shred -u --force file.txt should change the file permissions to non-readonly and then shred the file. However, on freebsd shred -u file.txt removes the file even when it is readonly.
Currently test_shred_force is skipped for freebsd, but we need to investigate why it fails.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.