2015-06-25 08:34:06 +08:00
|
|
|
perl-File-Save-Home (Place file safely under user home directory).
|
|
|
|
|
|
|
|
File::Save::Home - Place file safely under user home directory.
|
|
|
|
|
2016-11-07 05:54:27 +08: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 08:34:06 +08:00
|
|
|
|
2016-11-07 05:54:27 +08: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 08:34:06 +08:00
|
|
|
|
2016-11-07 05:54:27 +08: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.
|