Knowledge

srm (Unix)

Source 📝

187: 161: 22: 873: 126: 295:. However, OS X is the only platform on which srm securely deletes any of this additional data in files. On OS X, only the most common non-data fork, the resource fork, is handled in this way. This support was included in Apple’s 254:
option, which means "overwrite file, but do not rename or unlink it." However, if the file has multiple links, the multiple-link file data protection feature activates first, removing the file, even though the
218:. srm removes each specified file by overwriting, renaming, and truncating it before unlinking. This prevents other people from undeleting or recovering any information about the file from the command line. 322:, is documented have an overwriting pattern matching OpenBSD's rm. Additional functionality which protects multi-linked files is documented under the OpenBSD-compatible option, but is actually always active. 243:. However, in both the OS X and SourceForge srm implementations, the behaviour of unlinking but not overwriting multi-linked files is always active, as long as the platform reports hard links. 235:
results in a warning from srm stating that the current access path has been unlinked, but the data itself was not overwritten or truncated. This is an undocumented feature of srm 1.2.8 on
363: 895: 900: 805: 855: 306:
srm was removed from OS X/macOS in v10.11 El Capitan, as part of the removal of the "Secure Empty Trash" feature for security reasons.
105: 391: 905: 43: 876: 860: 330:
When securely deleting files recursively, srm 1.2.11 is unable to determine device boundaries on Windows. Therefore, the
473: 420: 136: 825: 86: 39: 58: 798: 65: 531: 32: 72: 597: 791: 663: 696: 239:, and is erroneously documented in 1.2.11 as a behaviour activated by the OpenBSD rm-compatible option 54: 186: 630: 443: 292: 495: 276: 467: 414: 754: 729:"macbook pro - macOS High Sierra: Where is the Secure Empty Trash option? - Ask Different" 707: 674: 641: 608: 542: 264: 160: 850: 835: 353: 280: 79: 889: 845: 840: 830: 247: 236: 215: 814: 358: 263:
option has been removed from the code and manual of srm version 1.2.11, the latest
207: 387: 335: 21: 575: 506: 399: 347: 232: 211: 728: 125: 284: 267:
version. As a consequence, this option/feature conflict does not occur.
315: 145: 567: 288: 787: 783: 175: 778: 15: 259:
option specifies "do not rename or unlink the file". The
750: 447: 695:
doj, null_pointer at SourceForge (25 November 2010).
662:
doj, null_pointer at SourceForge (22 November 2010).
629:
doj, null_pointer at SourceForge (24 December 2013).
530:
doj, null_pointer at SourceForge (24 December 2013).
170: 135: 46:. Unsourced material may be challenged and removed. 532:"sunlink function in srm sunlink.c (SourceForge)" 314:In srm 1.2.11, released on 25 November 2010, the 231:Attempting to secure delete a file with multiple 596:doj, null_pointer at SourceForge (9 June 2011). 364:List of free and open-source software packages 799: 751:"secure rm - Browse files at SourceForge.net" 489: 487: 485: 483: 8: 525: 523: 448:"srm - securely remove files or directories" 392:"srm - securely remove files or directories" 118: 503:Darwin 13.0, OS X Version 10.9: Apple srm 7 872: 806: 792: 784: 496:"sunlink function in srm sunlink.c (OS X)" 438: 436: 434: 432: 430: 185: 159: 117: 561: 559: 381: 379: 106:Learn how and when to remove this message 375: 465: 412: 283:and named forks on OS X (particularly 222:Platform-specific behaviours and bugs 7: 671:srm 1.2.11, README.OsX (sic) CVS 1.2 44:adding citations to reliable sources 334:option, which restricts srm to one 749:doj, null_pointer at SourceForge. 14: 896:Unix file system-related software 287:), and alternate data streams on 275:A number of file systems support 130:srm securely erasing a text file. 871: 124: 20: 299:1.2.8  and SourceForge's 31:needs additional citations for 901:Unix security-related software 572:Darwin 13.0, OS X Version 10.9 539:srm 1.2.11, sunlink.c CVS 1.44 398:. Man Pages Section 1: Tools: 1: 877:List of data-erasing software 861:Physical information security 704:srm 1.2.11, ChangeLog CVS 1.4 454:. Man Pages Section 1: Tools 396:srm 1.2.8, OS X Version 10.9 214:computer systems for secure 605:srm 1.2.11, main.c CVS 1.16 494:Apple Inc., Matt Gauthier. 227:Filesystems with hard links 922: 697:"srm ChangeLog 2008-07-08" 869: 821: 638:srm 1.2.11, TODO CVS 1.34 123: 472:: CS1 maint: location ( 419:: CS1 maint: location ( 826:Anti–computer forensics 664:"srm README.OsX (sic)" 350:: remove file in Unix. 318:rm-compatible option, 906:Data erasure software 568:"Apple - Open Source" 390:(20 September 2004). 386:doj, null_pointer at 338:, is not supported. 40:improve this article 293:extended attributes 120: 883: 882: 194: 193: 116: 115: 108: 90: 913: 875: 874: 808: 801: 794: 785: 779:Sourceforge Page 766: 765: 763: 761: 746: 740: 739: 737: 735: 725: 719: 718: 716: 714: 701: 692: 686: 685: 683: 681: 668: 659: 653: 652: 650: 648: 635: 626: 620: 619: 617: 615: 602: 593: 587: 586: 584: 582: 563: 554: 553: 551: 549: 536: 527: 518: 517: 515: 513: 500: 491: 478: 477: 471: 463: 461: 459: 440: 425: 424: 418: 410: 408: 406: 383: 333: 321: 302: 298: 262: 258: 253: 242: 200: 190: 189: 182: 179: 177: 163: 158: 155: 153: 151: 149: 147: 128: 121: 111: 104: 100: 97: 91: 89: 48: 24: 16: 921: 920: 916: 915: 914: 912: 911: 910: 886: 885: 884: 879: 865: 817: 812: 775: 770: 769: 759: 757: 755:SourceForge.net 748: 747: 743: 733: 731: 727: 726: 722: 712: 710: 708:SourceForge.net 699: 694: 693: 689: 679: 677: 675:SourceForge.net 666: 661: 660: 656: 646: 644: 642:SourceForge.net 633: 628: 627: 623: 613: 611: 609:SourceForge.net 600: 595: 594: 590: 580: 578: 565: 564: 557: 547: 545: 543:SourceForge.net 534: 529: 528: 521: 511: 509: 498: 493: 492: 481: 464: 457: 455: 442: 441: 428: 411: 404: 402: 385: 384: 377: 372: 344: 331: 328: 319: 312: 300: 296: 273: 265:SourceForge.net 260: 256: 251: 240: 229: 224: 198: 196: 184: 174: 166: 144: 131: 112: 101: 95: 92: 55:"Srm" Unix 49: 47: 37: 25: 12: 11: 5: 919: 917: 909: 908: 903: 898: 888: 887: 881: 880: 870: 867: 866: 864: 863: 858: 853: 851:Gutmann method 848: 843: 838: 836:Data remanence 833: 828: 822: 819: 818: 813: 811: 810: 803: 796: 788: 782: 781: 774: 773:External links 771: 768: 767: 741: 720: 687: 654: 621: 588: 555: 519: 479: 426: 374: 373: 371: 368: 367: 366: 361: 356: 354:Data remanence 351: 343: 340: 327: 324: 311: 308: 281:resource forks 272: 269: 228: 225: 223: 220: 192: 191: 172: 168: 167: 165: 164: 141: 139: 133: 132: 129: 114: 113: 28: 26: 19: 13: 10: 9: 6: 4: 3: 2: 918: 907: 904: 902: 899: 897: 894: 893: 891: 878: 868: 862: 859: 857: 856:DoD 5220.22-M 854: 852: 849: 847: 846:File deletion 844: 842: 841:Factory reset 839: 837: 834: 832: 831:Data recovery 829: 827: 824: 823: 820: 816: 809: 804: 802: 797: 795: 790: 789: 786: 780: 777: 776: 772: 756: 752: 745: 742: 730: 724: 721: 709: 705: 698: 691: 688: 676: 672: 665: 658: 655: 643: 639: 632: 625: 622: 610: 606: 599: 592: 589: 577: 573: 569: 562: 560: 556: 544: 540: 533: 526: 524: 520: 508: 504: 497: 490: 488: 486: 484: 480: 475: 469: 453: 449: 445: 444:Matt Gauthier 439: 437: 435: 433: 431: 427: 422: 416: 401: 397: 393: 389: 382: 380: 376: 369: 365: 362: 360: 357: 355: 352: 349: 346: 345: 341: 339: 337: 325: 323: 317: 309: 307: 304: 294: 290: 286: 282: 278: 270: 268: 266: 249: 248:Mac OS X 10.9 246:srm 1.2.8 on 244: 238: 237:Mac OS X 10.9 234: 226: 221: 219: 217: 216:file deletion 213: 209: 205: 204:Secure Remove 201: 188: 181: 173: 169: 162: 157: 143: 142: 140: 138: 134: 127: 122: 119:Secure Remove 110: 107: 99: 88: 85: 81: 78: 74: 71: 67: 64: 60: 57: –  56: 52: 51:Find sources: 45: 41: 35: 34: 29:This article 27: 23: 18: 17: 815:Data erasure 758:. Retrieved 744: 732:. Retrieved 723: 711:. Retrieved 703: 700:(Plain Text) 690: 678:. Retrieved 670: 667:(Plain Text) 657: 645:. Retrieved 637: 634:(Plain Text) 624: 612:. Retrieved 604: 598:"srm main.c" 591: 571: 546:. Retrieved 538: 502: 456:. Retrieved 451: 395: 359:shred (Unix) 329: 313: 305: 274: 245: 230: 210:utility for 208:command line 203: 197: 195: 178:.sourceforge 102: 93: 83: 76: 69: 62: 50: 38:Please help 33:verification 30: 566:Apple Inc. 388:SourceForge 336:file system 146:sourceforge 96:August 2010 890:Categories 631:"srm TODO" 601:(C Source) 579:Retrieved 576:Apple Inc. 535:(C Source) 510:Retrieved 507:Apple Inc. 499:(C Source) 452:srm 1.2.11 403:Retrieved 400:Apple Inc. 370:References 277:file forks 233:hard links 137:Repository 66:newspapers 760:7 January 713:7 January 680:7 January 647:7 January 614:7 January 581:7 January 548:7 January 512:7 January 458:7 January 405:7 January 348:rm (Unix) 212:Unix-like 734:28 March 468:cite web 415:cite web 342:See also 279:(called 326:Windows 316:OpenBSD 310:OpenBSD 303:1.2.9. 206:) is a 171:Website 80:scholar 291:), or 250:has a 183:  82:  75:  68:  61:  53:  87:JSTOR 73:books 762:2014 736:2021 715:2014 682:2014 649:2014 616:2014 583:2014 550:2014 514:2014 474:link 460:2014 421:link 407:2014 289:NTFS 285:HFS+ 271:OS X 202:(or 180:.net 154:/srm 152:/srm 148:.net 59:news 301:srm 297:srm 199:srm 176:srm 42:by 892:: 753:. 706:. 702:. 673:. 669:. 640:. 636:. 607:. 603:. 574:. 570:. 558:^ 541:. 537:. 522:^ 505:. 501:. 482:^ 470:}} 466:{{ 450:. 446:. 429:^ 417:}} 413:{{ 394:. 378:^ 332:-x 320:-P 261:-n 257:-n 252:-n 241:-P 150:/p 807:e 800:t 793:v 764:. 738:. 717:. 684:. 651:. 618:. 585:. 552:. 516:. 476:) 462:. 423:) 409:. 156:/ 109:) 103:( 98:) 94:( 84:· 77:· 70:· 63:· 36:.

Index


verification
improve this article
adding citations to reliable sources
"Srm" Unix
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message

Repository
sourceforge.net/p/srm/srm/
Edit this at Wikidata
srm.sourceforge.net
Edit this on Wikidata
command line
Unix-like
file deletion
hard links
Mac OS X 10.9
Mac OS X 10.9
SourceForge.net
file forks
resource forks
HFS+
NTFS
extended attributes
OpenBSD

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.