diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 25c1cd57c..25d6d39b7 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -1270,7 +1270,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start picname = imdb->getFilename(channel, epgData.eventID); CFileHelpers fh; - if (!fh.copyFile(imdb->posterfile.c_str(), picname.c_str(), 644)) + if (!fh.copyFile(imdb->posterfile.c_str(), picname.c_str(), 0644)) perror( "IMDb: error copy file" ); sleep(2); diff --git a/src/gui/infoviewer_bb.cpp b/src/gui/infoviewer_bb.cpp index 7ce4d64d8..e1fd9a59a 100644 --- a/src/gui/infoviewer_bb.cpp +++ b/src/gui/infoviewer_bb.cpp @@ -1084,7 +1084,7 @@ int CInfoViewerBB::check_ecmInfo() { int caid = 0; CFileHelpers fh; - if (fh.copyFile("/tmp/ecm.info", "/tmp/ecm.info.tmp", 644)) { + if (fh.copyFile("/tmp/ecm.info", "/tmp/ecm.info.tmp", 0644)) { g_InfoViewer->md5_ecmInfo = filehash((char *)"/tmp/ecm.info.tmp"); caid = parse_ecmInfo("/tmp/ecm.info.tmp"); } diff --git a/src/gui/moviebrowser/mb.cpp b/src/gui/moviebrowser/mb.cpp index 9b2212365..45ebafbc8 100644 --- a/src/gui/moviebrowser/mb.cpp +++ b/src/gui/moviebrowser/mb.cpp @@ -798,7 +798,7 @@ int CMovieBrowser::exec(CMenuTarget* parent, const std::string & actionKey) poster = m_movieSelectionHandler->file.Name.substr(0, pos); poster += ".jpg"; CFileHelpers fh; - if (fh.copyFile(imdb->posterfile.c_str(), poster.c_str(), 644)) + if (fh.copyFile(imdb->posterfile.c_str(), poster.c_str(), 0644)) printf("* poster: %s\n", poster.c_str()); else printf("* poster: copy error\n"); diff --git a/src/gui/ni_menu.cpp b/src/gui/ni_menu.cpp index b411dd47b..5e7d7e753 100644 --- a/src/gui/ni_menu.cpp +++ b/src/gui/ni_menu.cpp @@ -157,7 +157,7 @@ int CNIMenu::exec(CMenuTarget* parent, const std::string &actionkey) buffer=NULL; CFileHelpers fhlp; - if (fhlp.copyFile("/tmp/ecm.info", "/tmp/ecm.info.tmp", 644)) + if (fhlp.copyFile("/tmp/ecm.info", "/tmp/ecm.info.tmp", 0644)) { if ((fh = fopen("/tmp/ecm.info.tmp", "r"))) {