Opened 20 years ago
Closed 20 years ago
#2840 closed defect (fixed)
portextract.tcl preserves bogus file owner when untarring
Reported by: | mike@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
Trying to install a port as the root user cause the dist files to be extracted with potentially bogus file owner permissions. This cause the patch phase to fail if any files need to be patched (at least running under MacOS 10.4 (Tiger beta)).
Changing the line in portextract.tcl:
default extract.post_args {{| tar -xf -}}
to default extract.post_args {{| tar --no-same-owner -xf -}}
fixes the problem
Change History (1)
comment:1 Changed 20 years ago by mww@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | portextract.tcl preserves bogus file owner when untarring → portextract.tcl preserves bogus file owner when untarring |
Note: See
TracTickets for help on using
tickets.
thanks - good idea! commited;