pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/28826: pkg_add does not preserve mode when PKG_PATH is ftp://



>Number:         28826
>Category:       pkg
>Synopsis:       pkg_add does not preserve mode when PKG_PATH is ftp://
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 01 03:33:00 +0000 2005
>Originator:     Tyler Retzlaff
>Release:        NetBSD 2.0
>Organization:
none
>Environment:
System: NetBSD elysium.omicron-persei-8.net 2.0 NetBSD 2.0 (elysium) #0: Sat 
Jan 1 01:55:27 EST 2005 
rtr%elysium.omicron-persei-8.net@localhost:/var/obj/elysium i386
Architecture: i386
Machine: i386
>Description:

Installing a binary package from PKG_PATH=ftp://foo the binary packages
mode as installed does not reflect what was packaged.

>How-To-Repeat:
        1. use a ftp source for PKG_PATH
        2. pkg_add priv (priv chosen since it's a good test case)
        3. notice /usr/pkg/bin/priv is -r-xr-xr-x instead of -r-sr-xr-x
>Fix:
        When package add does the ftp get it doesn't appear to use -p flag
        to tar, so do it!




Home | Main Index | Thread Index | Old Index