On 01/13/2012 07:35 PM, Jesús Hernández Gormaz wrote: > > Tabi included some screenshots of rm with my changes in operation,
Next time, please be careful with what you post. You forced the mail server to send 600k of screenshots to every subscriber of this list, which adds up to many megabytes of traffic, when you could have just as easily done a text capture of the contents of the windows that you were trying to display, resulting in only 3 or 4k of traffic per subscriber. Also, you attached DIFF as a binary file; but it is customary on this list to send patches with MIME type text/plain so that they can be read inline, instead of forcing readers to save off the file and open it in an editor. > both > running > rm-fr - no-preserve-root / script_of_deception.sh running manually and in > both > cases preventing the removal of the operating system without explicit user > confirmation. Thanks for taking the time to write a patch, but adding this behavior to rm would violate POSIX. The Unix philosophy is to keep the tools powerful, even if that means they can do dangerous things when misused, rather than adding bloat to cripple the tools. Meanwhile, I think that tools like SELinux can provide the protection you are worried about, at a much better level (SELinux is enforced by the kernel, rather than having to add hacks to each tool in the set of shell scripting tools). -- Eric Blake [email protected] +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
