[otrs-cvs] otrs/Kernel/System/Ticket ArticleStorageFS.pm, 1.77.2.3, 1.77.2.4
"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/Ticket
In directory lancelot:/tmp/cvs-serv22039/Kernel/System/Ticket
Modified Files:
Tag: rel-3_0
ArticleStorageFS.pm
Log Message:
Fixed an extremely strange error on the UT servers where File::Path::make_path would generate a "Bad file descriptor" error where the legacy function mkpath works just fine...?!
Author: mg
Index: ArticleStorageFS.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/Ticket/ArticleStorageFS.pm,v
retrieving revision 1.77.2.3
retrieving revision 1.77.2.4
diff -2 -u -d -r1.77.2.3 -r1.77.2.4
--- ArticleStorageFS.pm 3 Dec 2012 13:29:28 -0000 1.77.2.3
+++ ArticleStorageFS.pm 3 Dec 2012 18:24:51 -0000 1.77.2.4
@@ -44,5 +44,5 @@
= "check_permissions_${$}_" . ( int rand 1_000_000_000 ) . "_${Seconds}_${Microseconds}";
my $Path = "$Self->{ArticleDataDir}/$Self->{ArticleContentPath}/" . $PermissionCheckDirectory;
- if ( File::Path::make_path( $Path, { mode => 0775 } ) ) {
+ if ( File::Path::mkpath( $Path, 0, 0775 ) ) {
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