Bug 104887 - databases/grass-i18n installs files with invalid ownership
Summary: databases/grass-i18n installs files with invalid ownership
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: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-28 21:00 UTC by fmysh
Modified: 2007-01-03 04:00 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (861 bytes, patch)
2006-10-28 21:00 UTC, fmysh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fmysh 2006-10-28 21:00:40 UTC
Installing the port with Tcl/Tk support, you'll see some files have
owner 1004 and group 513, which may be assigned to someone.
I think files installed by ports should have normally owner 0 (root)
and group 0 (wheel).

These files are from an extra tar ball, FILES_TKI18N.
As being a tar ball unpacked by root, permissions in the archive are
preserved, do-extract target does chmod -R ug-s and chown -R 0:0
explicitly.  FILES_TKI18N is, however, unpacked by not do-extract
but post-extract target and not chowned.

The port has two extra tar balls, FILES_TKI18N and FILES_FONTS.
and they are both unpacked by post-extract target.
They should be treated as do-extract does
(though FILES_FONTS is currently not an issue).

How-To-Repeat: 
# cd /usr/ports/databases/grass-i18n
# make WITH_TCLTK=yes install
# ls -ln /usr/local/grass/scripts
total 330
-rwxr-xr-x  1 0     0     5262 Jun 13 22:11 3d.view.sh
-rwxr-xr-x  1 0     0      711 Jun 13 22:11 blend.sh
-rwxr-xr-x  1 0     0     3475 Jun 13 22:11 bug.report.sh
-rwxr-xr-x  1 0     0     1960 Jun 13 22:11 create_fifos.sh
-rwxr-xr-x  1 0     0    22949 Jun 13 22:04 d.dm
-rwxr-xr-x  1 1004  513  23260 Dec  9  2003 d.dm-i18n

(snip)

# ls -lnR /usr/local/grass/tcltkgrass
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-10-28 21:00:49 UTC
Responsible Changed
From-To: freebsd-ports-bugs->hrs

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-01-03 03:53:54 UTC
hrs         2007-01-03 03:53:47 UTC

  FreeBSD ports repository

  Modified files:
    databases/grass-i18n Makefile 
  Log:
  Fix wrong ownership of installed files.  Bump PORTREVISION.
  
  Submitted by:   TAOKA Fumiyoshi
  PR:             ports/104887
  
  Revision  Changes    Path
  1.37      +5 -0      ports/databases/grass-i18n/Makefile
_______________________________________________
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 Hiroki Sato freebsd_committer freebsd_triage 2007-01-03 03:53:57 UTC
State Changed
From-To: open->closed

Committed with small modification.  Thank you for the submission!