1 | .\" $Id: saferm.1,v 1.2 1999-12-28 15:57:24 ghudson Exp $ |
---|
2 | .\" |
---|
3 | .\" Copyright 1998 by the Massachusetts Institute of Technology. |
---|
4 | .\" |
---|
5 | .\" Permission to use, copy, modify, and distribute this |
---|
6 | .\" software and its documentation for any purpose and without |
---|
7 | .\" fee is hereby granted, provided that the above copyright |
---|
8 | .\" notice appear in all copies and that both that copyright |
---|
9 | .\" notice and this permission notice appear in supporting |
---|
10 | .\" documentation, and that the name of M.I.T. not be used in |
---|
11 | .\" advertising or publicity pertaining to distribution of the |
---|
12 | .\" software without specific, written prior permission. |
---|
13 | .\" M.I.T. makes no representations about the suitability of |
---|
14 | .\" this software for any purpose. It is provided "as is" |
---|
15 | .\" without express or implied warranty. |
---|
16 | .\" |
---|
17 | .TH SAFERM 1 "30 Mar 1998" |
---|
18 | .SH NAME |
---|
19 | saferm \- remove files without race conditions |
---|
20 | .SH SYNOPSIS |
---|
21 | .B saferm |
---|
22 | [ |
---|
23 | .B \-q |
---|
24 | ] [ |
---|
25 | .B \-d |
---|
26 | | |
---|
27 | .B \-z |
---|
28 | ] |
---|
29 | .B filename |
---|
30 | [ |
---|
31 | .B filename ... |
---|
32 | ] |
---|
33 | .fi |
---|
34 | .SH DESCRIPTION |
---|
35 | .I saferm |
---|
36 | is a file removal program which can be used running as root to safely |
---|
37 | remove and optionally zero files or directories from world-writable |
---|
38 | directories, such as /tmp. It will refuse to change directories |
---|
39 | through symbolic links, and it will not zero files that have more than |
---|
40 | one hard link. Files are zeroed only when the |
---|
41 | .B \-z |
---|
42 | option is specified. If a directory is being removed, the |
---|
43 | .B \-d |
---|
44 | flag must be specified. The |
---|
45 | .B \-q |
---|
46 | flag suppresses the error message for the case when a directory |
---|
47 | cannot be removed because it is not empty. |
---|
48 | |
---|
49 | .SH AUTHOR |
---|
50 | Craig Fields, MIT Information Systems |
---|
51 | .br |
---|
52 | Copyright (c) 1998 Massachusetts Institute of Technology |
---|