Skip Menu |
 

This queue is for tickets about the Perl-Version CPAN distribution.

Report information
The Basics
Id: 84652
Status: patched
Priority: 0/
Queue: Perl-Version

People
Owner: Nobody in particular
Requestors: tokuhirom+cpan [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: perl-revision drops executable bit.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.11-29946-1366082229-453.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 188
Download (untitled) / with headers
text/plain 188b
When using perl-revision to executable perl script, it drops executable bit. When I bump up a version in a script has permission 0755, perl-revision script changes the permission to 0644.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.11-29946-1366082229-453.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.11-29946-1366082229-453.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-22279-1392390434-360.84652-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 464
Download (untitled) / with headers
text/plain 464b
On Mon Apr 15 23:17:10 2013, TOKUHIROM wrote: Show quoted text
> When using perl-revision to executable perl script, it drops > executable bit. > > When I bump up a version in a script has permission 0755, perl- > revision script changes the permission to 0644.
I couldn't reproduce this on Mac OS X Mavericks, but I've made a patch to remember the original file mode and reapply it when it re-writes the file. The change is 8ed5725 in https://github.com/briandfoy/Perl--Version


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.