Bug 153749 - [patch] comms/minicom: pacakge installation chown operation fails on directory
Summary: [patch] comms/minicom: pacakge installation chown operation fails on directory
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Johan van Selst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 23:40 UTC by Jason Helfman
Modified: 2011-01-08 13:50 UTC (History)
0 users

See Also:


Attachments
file.diff (467 bytes, patch)
2011-01-06 23:40 UTC, Jason Helfman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Helfman 2011-01-06 23:40:04 UTC
Minicom fails to change ownership on directory, because it isn't created during a package installation.

How-To-Repeat: cd /usr/ports/comms/minicom
make package
make deinstall
pkg_add /usr/ports/packages/comms/minicom-2.4.tbz

Error should be:
chown: /usr/local/etc/minicom: No such file or directory
pkg_add: command '/usr/sbin/chown uucp /usr/local/etc/minicom' failed

With this patch it creates the directory, and changes ownerships without issue.
Tinderbox run is clean.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-01-06 23:40:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->johans

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-01-08 13:40:31 UTC
johans      2011-01-08 13:40:26 UTC

  FreeBSD ports repository

  Modified files:
    comms/minicom        pkg-plist 
  Log:
  Explicitly create configuration directory during pkg install
  before trying to change ownership of this directory
  
  PR:             ports/153749
  Submitted by:   Jason Helfman <jhelfman@experts-exchange.com>
  
  Revision  Changes    Path
  1.20      +1 -0      ports/comms/minicom/pkg-plist
_______________________________________________
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"
Comment 3 Johan van Selst freebsd_committer freebsd_triage 2011-01-08 13:40:52 UTC
State Changed
From-To: open->closed

Committed, thanks.