Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2009 09:34:54 GMT
From:      Christoph Weber-Fahr <cwf-ml@arcor.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139637: wipe port fails dealing with file permissions
Message-ID:  <200910150934.n9F9YsuR092967@www.freebsd.org>
Resent-Message-ID: <200910150940.n9F9e1J3003558@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         139637
>Category:       ports
>Synopsis:       wipe port fails dealing with file permissions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 15 09:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Christoph Weber-Fahr
>Release:        6.4-RELEASE-p3 i386
>Organization:
Vodafone AG
>Environment:
FreeBSD xxx.xxx.arcor.de 6.4-RELEASE-p3 FreeBSD 6.4-RELEASE-p3 #1: Wed Mar  4 21:36:49 CET 2009     wefa@xxx.xxx.arcor.de:/usr/obj/usr/src/sys/SMP  i386

>Description:
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

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910150934.n9F9YsuR092967>