Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mail-Sender CPAN distribution.

Report information
The Basics
Id: 81326
Status: resolved
Priority: 0/
Queue: Mail-Sender

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

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



Subject: Weird permissions mean tarball can't be easily extracted
Here's an example: mike@doherty:/tmp $ tar xzvf Mail-Sender-0.8.21.tar.gz ./ ./Mail-Sender-0.8.21/ ./Mail-Sender-0.8.21/Changes ./Mail-Sender-0.8.21/Config.PL ./Mail-Sender-0.8.21/Makefile.PL ./Mail-Sender-0.8.21/MANIFEST ./Mail-Sender-0.8.21/META.yml ./Mail-Sender-0.8.21/README ./Mail-Sender-0.8.21/Sender/ ./Mail-Sender-0.8.21/Sender/CType/ ./Mail-Sender-0.8.21/Sender/CType/Ext.pm ./Mail-Sender-0.8.21/Sender/CType/Win32.pm ./Mail-Sender-0.8.21/Sender.pm ./Mail-Sender-0.8.21/t/ ./Mail-Sender-0.8.21/t/00-load.t ./Mail-Sender-0.8.21/t/01-create-object.t tar: .: Cannot utime: Operation not permitted tar: .: Cannot change mode to rwxr-xr-t: Operation not permitted tar: Exiting with failure status due to previous errors The requested operations probably require root privileges, which seems like a bad idea. -Mike Doherty
I can only hope a more current tar (or whatever `build dist` decides to use) generates a saner set of permissions. I have no way to specify unixish permissions as I am on Windows.
On Wed Dec 12 11:19:46 2012, JENDA wrote: Show quoted text
> I can only hope a more current tar (or whatever `build dist` decides to > use) generates a saner set of permissions. I have no way to specify > unixish permissions as I am on Windows.
You can use ptar from Archive::Tar, see http://blogs.perl.org/users/chorny/2011/07/how-to-get-rid-of-withoutworldwriteables.html -- Alexandr Ciornii, http://chorny.net
I haven't got a complaint from CPAN after uploading the 0.8.23 so seems dmake dist did produce a .tar.gz with "proper" permissions.