> Consistency is more important.
From some points of view this is behaviour more consistent. 

But, as the use case presented, when the normal user Peter has a temporary 
copy of a folder and executes "shred *"... for Peter it's more consistent  
shredding the content of the folder (and only this) than... shredding the 
contents of other folders because of symlinks) :-(

Shredding only the content of the folder is not only more consistent for him, 
it's also safe for the normal user. Doing "shred *" is crazy nowadays, who 
knows what you are shredding, Peter has extra steps (watching one by one the 
files to see if there is a symlink) and those make the process more unsafe.

At least there could be an option to stop shred from following symlinks.

Thanks


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to