Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#11862 closed defect (fixed)

BUG: fs-traverse shouldn't follows symlinks specified as a root path

Reported by: gui-dos (Guido Soranzio) Owned by: imajes@…
Priority: High Milestone: MacPorts 1.4
Component: base Version: 1.4.3
Keywords: Cc:
Port:

Description

The post-destrot command

delete ${destroot}${prefix}/share ${destroot}${prefix}/lib/terminfo

doesn't work after the recent changes to the implementation of the "delete" command.

Since lib/terminfo is a symbolyc link to ../share/terminfo, it should be deleted at first by swapping the arguments. It works again after changing it into:

delete ${destroot}${prefix}/lib/terminfo ${destroot}${prefix}/share

Change History (5)

comment:1 Changed 17 years ago by pipping@…

Milestone: Port Bugs
Owner: changed from pipping@… to imajes@…

assigning to maintainer

comment:2 Changed 17 years ago by kballard (Lily Ballard)

Resolution: fixed
Status: newclosed

Even though the port appears to have followed the suggestion here, I've implemented a proper fix in r25003.

comment:3 Changed 17 years ago by jmpp@…

Component: portsbase
Milestone: Port BugsMacPorts 1.4
Priority: BlockerImportant
Summary: BUG: ncurses 5.6 - post-destroot fails because it doesn't delete the link /lib/terminfo at firstBUG: fs-traverse shouldn't follows symlinks specified as a root path

comment:4 Changed 17 years ago by nox@…

Priority: ImportantHigh

comment:5 Changed 17 years ago by jmpp@…

Merged into the release_1_4 branch in r25263.

-jmpp

Note: See TracTickets for help on using tickets.