Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jan 2018 12:19:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224992] When 'install' fails, some work files are left with root credentials
Message-ID:  <bug-224992-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224992

            Bug ID: 224992
           Summary: When 'install' fails, some work files are left with
                    root credentials
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: freebsd-ports-bugs@FreeBSD.org

How to repeat:
1. In any port directory of some simple port, run 'make install clean'
2. Change the PORTNAME (ex. make it capitalized), so that
   it will now conflict with the original
3. Run 'make install'
4. Run 'make clean'
4. Observe:
> $ make clean
> =3D=3D=3D>  Cleaning for free42-2.0.10
> rm: /usr/ports/misc/free42/work/.metadir/+MANIFEST: Permission denied
> rm: /usr/ports/misc/free42/work/.metadir/+DESC: Permission denied
> rm: /usr/ports/misc/free42/work/.metadir: Directory not empty
> rm: /usr/ports/misc/free42/work: Directory not empty
> *** Error code 1

Those files are left with root credentials and now can't be deleted by the
original user.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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