tar path setting would be useful

rallycivic - January 22, 2009 - 14:46
Project:Plugin Manager
Version:6.x-1.9
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm using this module on a Solaris machine. The default tar is not gnu tar, and does not support all the options.
The module worked anyway by using Archive/Tar.php.

I found these messages in the apache error log:

tar: s: unknown function modifier
Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
tar: z: unknown function modifier
Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...

It would just be nice to avoid putting those errors in the log.

#1

JoshuaRogers - January 25, 2009 - 08:24

That sounds good. Maybe we should check to make sure that we have not only tar, but GNU tar.

#2

tomotomo - July 6, 2009 - 16:34

Also an issue on BSDs. The issue is non-gnu tar, classic tar.

#3

tomotomo - July 6, 2009 - 16:45

Also, the title isn't about tar's options but about the path. Just "tar" isn't enough, but /bin/tar is, but should be configurable.

 
 

Drupal is a registered trademark of Dries Buytaert.