Skip Menu |

This queue is for tickets about the Business-Tax-VAT-Validation CPAN distribution.

Report information
The Basics
Id: 114311
Status: resolved
Priority: 0/
Queue: Business-Tax-VAT-Validation

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

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



Subject: Lots of files have unneeded +x bits

Starting with 0.20, a .cgi script got a +x bit

Then in 0.21, a lot more did.

Still a problem as at 1.10

curl -s cpan.metacpan.org/authors/id/B/BP/BPGN/Business-Tax-VAT-Validation-0.20.tar.gz | tar -zvt  | grep '^-' | grep '[rw-][rw-]x'
-rwxr-xr-x bpn/bpn        2156 2006-11-11 04:44 Business-Tax-VAT-Validation-0.20/examples/vat.cgi
 

curl -s cpan.metacpan.org/authors/id/B/BP/BPGN/Business-Tax-VAT-Validation-0.21.tar.gz | tar -zvt  | grep '^-' | grep '[rw-][rw-]x'
-rwxr-xr-x Bernard/Aucun  3337 2008-08-19 01:22 Business-Tax-VAT-Validation-0.21/Changes
-rwxr-xr-x Bernard/Aucun 18009 2003-02-14 22:55 Business-Tax-VAT-Validation-0.21/COPYING
-rwxr-xr-x Bernard/Aucun  2180 2008-08-19 01:26 Business-Tax-VAT-Validation-0.21/distant_checks/03_distant_check.t
-rwxr-xr-x Bernard/Aucun  2156 2006-11-11 04:44 Business-Tax-VAT-Validation-0.21/examples/vat.cgi
-rwxr-xr-x Bernard/Aucun  1999 2006-01-20 03:05 Business-Tax-VAT-Validation-0.21/examples/vat_cli.pl
-rwxr-xr-x Bernard/Aucun 15625 2011-10-04 18:35 Business-Tax-VAT-Validation-0.21/lib/Business/Tax/VAT/Validation.pm
-rwxr-xr-x Bernard/Aucun   546 2008-01-04 02:05 Business-Tax-VAT-Validation-0.21/Makefile.PL
-rwxr-xr-x Bernard/Aucun   307 2007-07-14 09:26 Business-Tax-VAT-Validation-0.21/MANIFEST
-rwxr-xr-x Bernard/Aucun   849 2007-07-14 09:31 Business-Tax-VAT-Validation-0.21/README
-rwxr-xr-x Bernard/Aucun   267 2007-07-07 02:46 Business-Tax-VAT-Validation-0.21/t/00_use.t
-rwxr-xr-x Bernard/Aucun  1782 2008-04-29 21:40 Business-Tax-VAT-Validation-0.21/t/01_local_check.t
-rwxr-xr-x Bernard/Aucun  2133 2008-01-04 02:26 Business-Tax-VAT-Validation-0.21/t/02_local_check_nok.t
-rwxr-xr-x Bernard/Aucun   161 2006-07-21 04:15 Business-Tax-VAT-Validation-0.21/t/pod-coverage.t
-rwxr-xr-x Bernard/Aucun   202 2006-07-21 04:05 Business-Tax-VAT-Validation-0.21/t/pod.t
 

curl -s cpan.metacpan.org/authors/id/B/BI/BIGPRESH/Business-Tax-VAT-Validation-1.10.tar.gz | tar -zvt  | grep '^-' | grep '[rw-][rw-]x'
-rwxr-xr-x davidp/davidp  5880 2015-10-27 05:07 Business-Tax-VAT-Validation-1.10/README
-rwxr-xr-x davidp/davidp 35146 2011-10-06 06:52 Business-Tax-VAT-Validation-1.10/COPYING
-rwxr-xr-x davidp/davidp   202 2006-07-21 04:05 Business-Tax-VAT-Validation-1.10/t/pod.t
-rwxr-xr-x davidp/davidp  1828 2015-10-27 06:16 Business-Tax-VAT-Validation-1.10/t/01_local_check.t
-rwxr-xr-x davidp/davidp   161 2006-07-21 04:15 Business-Tax-VAT-Validation-1.10/t/pod-coverage.t
-rwxr-xr-x davidp/davidp  2133 2008-01-04 02:26 Business-Tax-VAT-Validation-1.10/t/02_local_check_nok.t
-rwxr-xr-x davidp/davidp   267 2007-07-07 02:46 Business-Tax-VAT-Validation-1.10/t/00_use.t
-rwxr-xr-x davidp/davidp  2228 2012-03-26 03:23 Business-Tax-VAT-Validation-1.10/examples/vat_cli.pl
-rwxr-xr-x davidp/davidp  3216 2012-03-26 03:23 Business-Tax-VAT-Validation-1.10/examples/vat.cgi
-rwxr-xr-x davidp/davidp  2180 2008-08-19 01:26 Business-Tax-VAT-Validation-1.10/xt/03_distant_check.t
-rwxr-xr-x davidp/davidp 14622 2015-10-27 05:08 Business-Tax-VAT-Validation-1.10/lib/Business/Tax/VAT/Validation.pm
-rwxr-xr-x davidp/davidp   379 2015-10-27 06:18 Business-Tax-VAT-Validation-1.10/MANIFEST
-rwxr-xr-x davidp/davidp   608 2015-10-27 04:46 Business-Tax-VAT-Validation-1.10/Makefile.PL
-rwxr-xr-x davidp/davidp  4214 2015-10-27 05:10 Business-Tax-VAT-Validation-1.10/Changes
 

Very, very belatedly, I've removed some unnecessary execute bits in: https://github.com/bigpresh/Business-Tax-VAT-Validation/commit/318276f5b2bb701a0d898742bb987aee05dc3141 I've left the ones on the example scripts and tests, as they are scripts so it seems reasonable for them to be executable. (For tests it's a bit more of a stretch; typically you'd run them as a whole test run under prove, but there's no real reason you shouldn't be able to execute them individually directly if you want to, and I see no problem with them being +x.) Cheers!