Page MenuHomeFreeBSD

Make Perl behave and install files with u+w.
AbandonedPublic

Authored by mat on Jun 19 2015, 12:25 PM.
Tags
None
Referenced Files
F174039893: D2869.diff
Wed, Sep 30, 3:57 AM
Unknown Object (File)
Fri, Sep 25, 10:54 PM
Unknown Object (File)
Fri, Sep 25, 10:54 PM
Unknown Object (File)
Tue, Sep 22, 10:38 AM
Unknown Object (File)
Tue, Sep 22, 2:24 AM
Unknown Object (File)
Aug 25 2026, 12:27 AM
Unknown Object (File)
Aug 25 2026, 12:26 AM
Unknown Object (File)
Aug 24 2026, 3:13 PM

Details

Reviewers
None
Group Reviewers
Perl

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

mat retitled this revision from to Make Perl behave and install files with u+w..
mat updated this object.
mat edited the test plan for this revision. (Show Details)
mat added a reviewer: Perl.
mat set the repository for this revision to rP FreeBSD ports repository.

+1 to the spirit. Though what user would actually want to edit these installed files? Only developers likely. Though it does match everything else.

+1 to the spirit. Though what user would actually want to edit these installed files? Only developers likely. Though it does match everything else.

Well, the various INSTALL_* macros use 644/755 modes, Perl ignores those, and then, we have to do stupid stuff to go around it, like:

post-install:
        ${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Set/Object/Object.so
        ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Set/Object/Object.so
        ${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Set/Object/Object.so