[otrs-cvs] otrs/Kernel/System/VirtualFS FS.pm,1.2.6.1,1.2.6.2
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/Kernel/System/VirtualFS
In directory lancelot:/tmp/cvs-serv8240/Kernel/System/VirtualFS
Modified Files:
Tag: rel-3_1
FS.pm
Log Message:
Follow-up fix. Create directories recursively to also work if var/virtualfs is not yet present.
Author: mg
Index: FS.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/VirtualFS/FS.pm,v
retrieving revision 1.2.6.1
retrieving revision 1.2.6.2
diff -2 -u -d -r1.2.6.1 -r1.2.6.2
--- FS.pm 3 Dec 2012 11:42:02 -0000 1.2.6.1
+++ FS.pm 3 Dec 2012 12:43:36 -0000 1.2.6.2
@@ -15,4 +15,5 @@
use warnings;
+use File::Path qw();
use Time::HiRes qw();
@@ -46,5 +47,5 @@
my $Path = "$Self->{DataDir}/$PermissionCheckDirectory";
- if ( mkdir( $Path, 022 ) ) {
+ if ( File::Path::make_path( $Path, { mode => 0755 } ) ) {
rmdir $Path;
}
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log