Subject: | Retain permissions and ownership when saving CPAN configuration |
(Version 1.92_60 and earlier)
Currently the permissions and ownership are changed to the defaults
(umask, default group) when committing the CPAN configuration to disk. I
think as much as possible should be preserved.
$ ls -al ~/.cpan/CPAN/MyConfig.pm
-rw-rw-r-- 1 eserte cpansand 2102 29 Mär 15:24
/home/e/eserte/.cpan/CPAN/MyConfig.pm
$ cpan
Show quoted text
cpan> o conf commit
cpan> quit
$ ls -al ~/.cpan/CPAN/MyConfig.pm
-rw-rw---- 1 eserte eserte 2102 29 Mär 15:25
/home/e/eserte/.cpan/CPAN/MyConfig.pm
Regards,
Slaven