[Bug 224992] When 'install' fails, some work files are left with root credentials
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jan 8 12:19:13 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224992
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 at FreeBSD.org
Reporter: yuri at freebsd.org
CC: freebsd-ports-bugs at 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
> ===> 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.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list