2015-06-25 02:34:06 +02:00
|
|
|
perl-File-Save-Home (Place file safely under user home directory).
|
|
|
|
|
|
|
|
File::Save::Home - Place file safely under user home directory.
|
|
|
|
|
2016-11-06 22:54:27 +01:00
|
|
|
In the course of deploying an application on another user's system,
|
|
|
|
you sometimes need to place a file in or underneath that user's home
|
|
|
|
directory. Can you do so safely?
|
2015-06-25 02:34:06 +02:00
|
|
|
|
2016-11-06 22:54:27 +01:00
|
|
|
This Perl extension provides several functions which try to determine
|
|
|
|
whether you can, indeed, safely create directories and files underneath
|
|
|
|
a user's home directory.
|
2015-06-25 02:34:06 +02:00
|
|
|
|
2016-11-06 22:54:27 +01:00
|
|
|
Among other things, if you are placing a file in such a location only
|
|
|
|
temporarily -- say, for testing purposes -- you can temporarily hide any
|
|
|
|
already existing file with the same name and restore it to its original
|
|
|
|
name and timestamps when you are done.
|