summaryrefslogtreecommitdiffstats
path: root/perl/perl-File-Save-Home/README
blob: 05771c8dce712203f858fd3dac17f8b9c85ac57d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
perl-File-Save-Home (Place file safely under user home directory).

File::Save::Home - Place file safely under user home directory.

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?

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.

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.