[otrs-cvs] otrs/Kernel/System/Ticket ArticleStorageFS.pm, 1.79.2.1, 1.79.2.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/Ticket
In directory lancelot:/tmp/cvs-serv22010/Kernel/System/Ticket
Modified Files:
Tag: rel-3_1
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.79.2.1
retrieving revision 1.79.2.2
diff -2 -u -d -r1.79.2.1 -r1.79.2.2
--- ArticleStorageFS.pm 3 Dec 2012 11:42:02 -0000 1.79.2.1
+++ ArticleStorageFS.pm 3 Dec 2012 18:24:34 -0000 1.79.2.2
@@ -46,5 +46,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