misc/115184: Update to Can't delete certain types of files
John S. Strock
jstrock at batc.edu
Fri Aug 3 21:40:02 UTC 2007
>Number: 115184
>Category: misc
>Synopsis: Update to Can't delete certain types of files
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 03 21:40:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: John S. Strock
>Release: 6.2
>Organization:
Bridgerland Applied Technology College
>Environment:
FreeBSD Server-2.BATC-IT.local 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Feb 6 22:42:34 MST 2007 root at Server-2.BATC-IT.local:/usr/obj/usr/src/sys/Server-2 i386
>Description:
This is an update to the bug I just posted. I've found a way to remove individual files.
>How-To-Repeat:
>Fix:
To delete an individual file, use the following command:
"rm bogusfilename -filenametodelete"
For example, I create a hyphenated filename using the following command:
"cp realfile -newfile"
"rm -newfile" doesn't work, because "rm" thinks "-newfile" is an option.
To delete, type:
"rm whatevernamehere -newfile"
The "whatevernamehere" could be a legitimate file, or one that doesn't exist, either way it'll delete the 2nd file.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list