Subject: | Configuring the tar command used to avoid spurious permission issues. |
Hello,
When running CPAN as root the files are untarred and the permissions inside the tarball are
preserved.
This is a problem when the arbitrary given UID/GID happens to exist and has some issue like
being over quota:
/bin/tar: Text-CSV-1.10/t: Cannot change ownership to uid 1031, gid 100: Disk quota
exceeded
And so the install fails, even though you are root! To avoid this we typically tell tar not to
preserve the tarball owner/group etc...
We have a function that calculates which flags tar needs on a given system to make that
happen (IE -o, --no-same-owner, etc)
and would like CPAN's use of /bin/tar to use the appropriate flags as well.
Is it possible to configure the tar flags? (Aside from the verbosity level of course)
If not could I make that a feature request?
TIA guys!