according to its manpage wipe can deal with mssing w permissions if it has to - wipe -f should fortce file deletions. In reality, it just throws the same error message: wipe: cannot open `testfile2': Permission denied How-To-Repeat: wefa@nxcon 11:27 [~/test]chmod ugo=rx testfile2 wefa@nxcon 11:27 [~/test]wipe testfile1 wefa@nxcon 11:27 [~/test]wipe testfile2 wipe: cannot open `testfile2': Permission denied wefa@nxcon 11:27 [~/test]wipe -f testfile2 wipe: cannot open `testfile2': Permission denied wefa@nxcon 11:27 [~/test]ls -al total 232 drwxr-xr-x 2 wefa wheel 1024 Oct 15 11:28 . drwxr-xr-x 58 wefa wheel 5120 Jul 30 20:35 .. -r-xr-xr-x 1 wefa wheel 204800 Oct 15 11:27 testfile2 wefa@nxcon 11:27 [~/test]pkg_info | grep wipe wipe-2.2.0 File and block device wiping utility
Maintainer of security/wipe, Please note that PR ports/139637 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/139637 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
This patch, for the port's files directory: http://students.washington.edu/rfarmer/patch-prompt.c should: 1) fix this issue by making wipe -f chmod files to gain write access 2) fix the core dump in PR 139611
Responsible Changed From-To: freebsd-ports-bugs->amdmi3 I'll take it.
State Changed From-To: feedback->closed Committed. Thanks!
amdmi3 2009-10-29 18:27:46 UTC FreeBSD ports repository Modified files: security/wipe Makefile Added files: security/wipe/files patch-prompt.c Log: - fix the core dump when wiping e.g. /tmp/testfile ([1]) - fix permissions handling ([2]) PR: 139611 [1], 139637 [2] Submitted by: Michael <bug_report@arcor.de> [1], Christoph Weber-Fahr <cwf-ml@arcor.de> [2] Patch by: Rob Farmer <rfarmer@predatorlabs.net> (maintainer) Revision Changes Path 1.6 +1 -0 ports/security/wipe/Makefile 1.1 +37 -0 ports/security/wipe/files/patch-prompt.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"