coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

shred -u does not work correctly on freebsd

Open ajanicij opened this issue 3 years ago • 1 comments

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.

ajanicij avatar Apr 10 '21 05:04 ajanicij

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.

stale[bot] avatar Apr 10 '22 06:04 stale[bot]