I try to keep all the port tree related distfiles locally. After any port tree update some distfiles should be removed according to history.
/usr/ports/infrastructure/bin/dpb -F 3 -DNO_CHECKSUM # fetching all distfiles related to current port tree /usr/ports/infastructure/bin/dpb -DHISTORY_ONLY # builiding history file dpb outputs: Started as: root Port user: root Build user: _pbuild Fetch user: _pfetch Log user: _pbuild Unpriv user: _dpb Control socket: /usr/ports/logs/amd64/control-aa-17006 ... distfiles download export DISTDIR=/home/ftp/distfiles /usr/ports/infrastructure/bin/clean-old-distfiles -v -h /home/ftp/distfiles/history I see the process output with files to delete according to /home/ftp/distfiles/history file But nothing actually deleted by clean-old-disfiles perl script. /home/ftp is owned by _ftp:_ftp 755 /home/ftp/distfiles by _pfetch:_pfetch 755 /home/ftp/distfiles/history _pfetch:_pfetch 644 Please advice what can be wrong. Martin