diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 diff --git a/README b/README old mode 100755 new mode 100644 diff --git a/TODO b/TODO new file mode 100644 index 0000000000..1165ed7e72 --- /dev/null +++ b/TODO @@ -0,0 +1,2 @@ +Database: + - Stored procedures! diff --git a/admin/index.php b/admin/index.php old mode 100755 new mode 100644 diff --git a/config/.gitignore b/config/.gitignore old mode 100755 new mode 100644 diff --git a/config/config.sample.php b/config/config.sample.php old mode 100755 new mode 100644 diff --git a/css/default.php b/css/default.php old mode 100755 new mode 100644 diff --git a/css/small.php b/css/small.php old mode 100755 new mode 100644 diff --git a/db_structure.xml b/db_structure.xml old mode 100755 new mode 100644 index 7efb722bd7..51ab921093 --- a/db_structure.xml +++ b/db_structure.xml @@ -7,6 +7,37 @@ latin1 + + *dbprefix*privatedata + + + key + text + + true + 64 + + + value + text + false + + + timestamp + timestamp + true + + + timestamp + false + + timestamp + ascending + + + +
+ *dbprefix*groups diff --git a/docs/FAQs b/docs/FAQs old mode 100755 new mode 100644 diff --git a/docs/INSTALL b/docs/INSTALL old mode 100755 new mode 100644 diff --git a/docs/TODO b/docs/TODO old mode 100755 new mode 100644 diff --git a/docs/owncloud.sql b/docs/owncloud.sql old mode 100755 new mode 100644 diff --git a/files/api.php b/files/api.php old mode 100755 new mode 100644 diff --git a/files/get_files.php b/files/get_files.php old mode 100755 new mode 100644 diff --git a/files/index.php b/files/index.php old mode 100755 new mode 100644 diff --git a/files/open_file.php b/files/open_file.php old mode 100755 new mode 100644 diff --git a/files/upload.php b/files/upload.php old mode 100755 new mode 100644 diff --git a/img/arrow.png b/img/arrow.png old mode 100755 new mode 100644 diff --git a/img/arrow_down.png b/img/arrow_down.png old mode 100755 new mode 100644 diff --git a/img/arrow_up.png b/img/arrow_up.png old mode 100755 new mode 100644 diff --git a/img/dots.png b/img/dots.png old mode 100755 new mode 100644 diff --git a/img/icons/delete.png b/img/icons/delete.png old mode 100755 new mode 100644 diff --git a/img/icons/folder.png b/img/icons/folder.png old mode 100755 new mode 100644 diff --git a/img/icons/loading.gif b/img/icons/loading.gif old mode 100755 new mode 100644 diff --git a/img/icons/other.png b/img/icons/other.png old mode 100755 new mode 100644 diff --git a/img/icons/rename.png b/img/icons/rename.png old mode 100755 new mode 100644 diff --git a/img/owncloud-icon.png b/img/owncloud-icon.png old mode 100755 new mode 100644 diff --git a/img/owncloud-logo-small.png b/img/owncloud-logo-small.png old mode 100755 new mode 100644 diff --git a/img/owncloud-logo.png b/img/owncloud-logo.png old mode 100755 new mode 100644 diff --git a/inc/Archive/Tar.php b/inc/Archive/Tar.php old mode 100755 new mode 100644 diff --git a/inc/Console/Getopt.php b/inc/Console/Getopt.php old mode 100755 new mode 100644 diff --git a/inc/HTTP/WebDAV/Server.php b/inc/HTTP/WebDAV/Server.php old mode 100755 new mode 100644 diff --git a/inc/HTTP/WebDAV/Server/Filesystem.php b/inc/HTTP/WebDAV/Server/Filesystem.php old mode 100755 new mode 100644 diff --git a/inc/HTTP/WebDAV/Tools/_parse_lockinfo.php b/inc/HTTP/WebDAV/Tools/_parse_lockinfo.php old mode 100755 new mode 100644 diff --git a/inc/HTTP/WebDAV/Tools/_parse_propfind.php b/inc/HTTP/WebDAV/Tools/_parse_propfind.php old mode 100755 new mode 100644 diff --git a/inc/HTTP/WebDAV/Tools/_parse_proppatch.php b/inc/HTTP/WebDAV/Tools/_parse_proppatch.php old mode 100755 new mode 100644 diff --git a/inc/Log.php b/inc/Log.php old mode 100755 new mode 100644 diff --git a/inc/Log/composite.php b/inc/Log/composite.php old mode 100755 new mode 100644 diff --git a/inc/Log/console.php b/inc/Log/console.php old mode 100755 new mode 100644 diff --git a/inc/Log/daemon.php b/inc/Log/daemon.php old mode 100755 new mode 100644 diff --git a/inc/Log/display.php b/inc/Log/display.php old mode 100755 new mode 100644 diff --git a/inc/Log/error_log.php b/inc/Log/error_log.php old mode 100755 new mode 100644 diff --git a/inc/Log/file.php b/inc/Log/file.php old mode 100755 new mode 100644 diff --git a/inc/Log/mail.php b/inc/Log/mail.php old mode 100755 new mode 100644 diff --git a/inc/Log/mcal.php b/inc/Log/mcal.php old mode 100755 new mode 100644 diff --git a/inc/Log/null.php b/inc/Log/null.php old mode 100755 new mode 100644 diff --git a/inc/Log/observer.php b/inc/Log/observer.php old mode 100755 new mode 100644 diff --git a/inc/Log/sql.php b/inc/Log/sql.php old mode 100755 new mode 100644 diff --git a/inc/Log/sqlite.php b/inc/Log/sqlite.php old mode 100755 new mode 100644 diff --git a/inc/Log/syslog.php b/inc/Log/syslog.php old mode 100755 new mode 100644 diff --git a/inc/Log/win.php b/inc/Log/win.php old mode 100755 new mode 100644 diff --git a/inc/MDB2.php b/inc/MDB2.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Date.php b/inc/MDB2/Date.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Datatype/Common.php b/inc/MDB2/Driver/Datatype/Common.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Datatype/mysql.php b/inc/MDB2/Driver/Datatype/mysql.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Datatype/pgsql.php b/inc/MDB2/Driver/Datatype/pgsql.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Datatype/sqlite.php b/inc/MDB2/Driver/Datatype/sqlite.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Function/Common.php b/inc/MDB2/Driver/Function/Common.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Function/mysql.php b/inc/MDB2/Driver/Function/mysql.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Function/pgsql.php b/inc/MDB2/Driver/Function/pgsql.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Function/sqlite.php b/inc/MDB2/Driver/Function/sqlite.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Manager/Common.php b/inc/MDB2/Driver/Manager/Common.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Manager/mysql.php b/inc/MDB2/Driver/Manager/mysql.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Manager/pgsql.php b/inc/MDB2/Driver/Manager/pgsql.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Manager/sqlite.php b/inc/MDB2/Driver/Manager/sqlite.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Native/Common.php b/inc/MDB2/Driver/Native/Common.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Native/mysql.php b/inc/MDB2/Driver/Native/mysql.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Native/pgsql.php b/inc/MDB2/Driver/Native/pgsql.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Native/sqlite.php b/inc/MDB2/Driver/Native/sqlite.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Reverse/Common.php b/inc/MDB2/Driver/Reverse/Common.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Reverse/mysql.php b/inc/MDB2/Driver/Reverse/mysql.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Reverse/pgsql.php b/inc/MDB2/Driver/Reverse/pgsql.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/Reverse/sqlite.php b/inc/MDB2/Driver/Reverse/sqlite.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/mysql.php b/inc/MDB2/Driver/mysql.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/pgsql.php b/inc/MDB2/Driver/pgsql.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Driver/sqlite.php b/inc/MDB2/Driver/sqlite.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Extended.php b/inc/MDB2/Extended.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/Iterator.php b/inc/MDB2/Iterator.php old mode 100755 new mode 100644 diff --git a/inc/MDB2/LOB.php b/inc/MDB2/LOB.php old mode 100755 new mode 100644 diff --git a/inc/Mail.php b/inc/Mail.php old mode 100755 new mode 100644 diff --git a/inc/Mail/RFC822.php b/inc/Mail/RFC822.php old mode 100755 new mode 100644 diff --git a/inc/Mail/mail.php b/inc/Mail/mail.php old mode 100755 new mode 100644 diff --git a/inc/Mail/mime.php b/inc/Mail/mime.php old mode 100755 new mode 100644 diff --git a/inc/Mail/mimeDecode.php b/inc/Mail/mimeDecode.php old mode 100755 new mode 100644 diff --git a/inc/Mail/mimePart.php b/inc/Mail/mimePart.php old mode 100755 new mode 100644 diff --git a/inc/Mail/null.php b/inc/Mail/null.php old mode 100755 new mode 100644 diff --git a/inc/Mail/sendmail.php b/inc/Mail/sendmail.php old mode 100755 new mode 100644 diff --git a/inc/Mail/smtp.php b/inc/Mail/smtp.php old mode 100755 new mode 100644 diff --git a/inc/Mail/xmail.dtd b/inc/Mail/xmail.dtd old mode 100755 new mode 100644 diff --git a/inc/Mail/xmail.xsl b/inc/Mail/xmail.xsl old mode 100755 new mode 100644 diff --git a/inc/Net/SMTP.php b/inc/Net/SMTP.php old mode 100755 new mode 100644 diff --git a/inc/Net/Socket.php b/inc/Net/Socket.php old mode 100755 new mode 100644 diff --git a/inc/OS/Guess.php b/inc/OS/Guess.php old mode 100755 new mode 100644 diff --git a/inc/PEAR.php b/inc/PEAR.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Autoloader.php b/inc/PEAR/Autoloader.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Builder.php b/inc/PEAR/Builder.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Command.php b/inc/PEAR/Command.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Command/Auth.php b/inc/PEAR/Command/Auth.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Command/Build.php b/inc/PEAR/Command/Build.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Command/Common.php b/inc/PEAR/Command/Common.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Command/Config.php b/inc/PEAR/Command/Config.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Command/Install.php b/inc/PEAR/Command/Install.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Command/Mirror.php b/inc/PEAR/Command/Mirror.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Command/Package.php b/inc/PEAR/Command/Package.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Command/Registry.php b/inc/PEAR/Command/Registry.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Command/Remote.php b/inc/PEAR/Command/Remote.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Common.php b/inc/PEAR/Common.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Config.php b/inc/PEAR/Config.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Dependency.php b/inc/PEAR/Dependency.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Downloader.php b/inc/PEAR/Downloader.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/ErrorStack.php b/inc/PEAR/ErrorStack.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Exception.php b/inc/PEAR/Exception.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Frontend/CLI.php b/inc/PEAR/Frontend/CLI.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Installer.php b/inc/PEAR/Installer.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Packager.php b/inc/PEAR/Packager.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Registry.php b/inc/PEAR/Registry.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/Remote.php b/inc/PEAR/Remote.php old mode 100755 new mode 100644 diff --git a/inc/PEAR/RunTest.php b/inc/PEAR/RunTest.php old mode 100755 new mode 100644 diff --git a/inc/PHPUnit.php b/inc/PHPUnit.php old mode 100755 new mode 100644 diff --git a/inc/PHPUnit/Assert.php b/inc/PHPUnit/Assert.php old mode 100755 new mode 100644 diff --git a/inc/PHPUnit/GUI/Gtk.php b/inc/PHPUnit/GUI/Gtk.php old mode 100755 new mode 100644 diff --git a/inc/PHPUnit/GUI/HTML.php b/inc/PHPUnit/GUI/HTML.php old mode 100755 new mode 100644 diff --git a/inc/PHPUnit/GUI/SetupDecorator.php b/inc/PHPUnit/GUI/SetupDecorator.php old mode 100755 new mode 100644 diff --git a/inc/PHPUnit/RepeatedTest.php b/inc/PHPUnit/RepeatedTest.php old mode 100755 new mode 100644 diff --git a/inc/PHPUnit/Skeleton.php b/inc/PHPUnit/Skeleton.php old mode 100755 new mode 100644 diff --git a/inc/PHPUnit/TestCase.php b/inc/PHPUnit/TestCase.php old mode 100755 new mode 100644 diff --git a/inc/PHPUnit/TestDecorator.php b/inc/PHPUnit/TestDecorator.php old mode 100755 new mode 100644 diff --git a/inc/PHPUnit/TestFailure.php b/inc/PHPUnit/TestFailure.php old mode 100755 new mode 100644 diff --git a/inc/PHPUnit/TestListener.php b/inc/PHPUnit/TestListener.php old mode 100755 new mode 100644 diff --git a/inc/PHPUnit/TestResult.php b/inc/PHPUnit/TestResult.php old mode 100755 new mode 100644 diff --git a/inc/PHPUnit/TestSuite.php b/inc/PHPUnit/TestSuite.php old mode 100755 new mode 100644 diff --git a/inc/System.php b/inc/System.php old mode 100755 new mode 100644 diff --git a/inc/XML/Parser.php b/inc/XML/Parser.php old mode 100755 new mode 100644 diff --git a/inc/XML/RPC.php b/inc/XML/RPC.php old mode 100755 new mode 100644 diff --git a/inc/XML/RPC/Server.php b/inc/XML/RPC/Server.php old mode 100755 new mode 100644 diff --git a/inc/docs/HTTP_WebDAV_Server/README b/inc/docs/HTTP_WebDAV_Server/README old mode 100755 new mode 100644 diff --git a/inc/docs/HTTP_WebDAV_Server/dav.txt b/inc/docs/HTTP_WebDAV_Server/dav.txt old mode 100755 new mode 100644 diff --git a/inc/docs/HTTP_WebDAV_Server/db/Fileserver.sql b/inc/docs/HTTP_WebDAV_Server/db/Fileserver.sql old mode 100755 new mode 100644 diff --git a/inc/lib_base.php b/inc/lib_base.php old mode 100755 new mode 100644 diff --git a/inc/lib_files.php b/inc/lib_files.php old mode 100755 new mode 100644 diff --git a/inc/lib_filestorage.php b/inc/lib_filestorage.php old mode 100755 new mode 100644 diff --git a/inc/lib_filesystem.php b/inc/lib_filesystem.php old mode 100755 new mode 100644 diff --git a/inc/lib_log.php b/inc/lib_log.php old mode 100755 new mode 100644 diff --git a/inc/lib_ocs.php b/inc/lib_ocs.php old mode 100755 new mode 100644 index 72d2adb179..891ca192c0 --- a/inc/lib_ocs.php +++ b/inc/lib_ocs.php @@ -133,10 +133,21 @@ class OC_OCS { $message=OC_OCS::readdata('message','text'); OC_OCS::activityput($format,$message); + // PRIVATEDATA + // get - GET DATA + }elseif(($method=='get') and (strtolower($ex[$paracount-3])=='v1.php')and (strtolower($ex[$paracount-2])=='privatedata')){ + $key=OC_OCS::readdata('key','text'); + OC_OCS::privateDataGet($key); + + // set - POST DATA + }elseif(($method=='post') and (strtolower($ex[$paracount-3])=='v1.php')and (strtolower($ex[$paracount-2])=='privatedata')){ + $key=OC_OCS::readdata('key','text'); + $value=OC_OCS::readdata('key','text'); + OC_OCS::privatedataset($key, $value); }else{ $format=OC_OCS::readdata('format','text'); - $txt='please check the syntax. api specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services'."\n"; + $txt='Invalid query, please check the syntax. API specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services. DEBUG OUTPUT:'."\n"; $txt.=OC_OCS::getdebugoutput(); echo(OC_OCS::generatexml($format,'failed',999,$txt)); } @@ -418,8 +429,58 @@ class OC_OCS { echo(OC_OCS::generatexml($format,'ok',100,'')); } + // PRIVATEDATA API ############################################# + + /** + * get private data + * @param string $key + * @return string xml/json + */ + private static function privateDataGet($key) { + global $CONFIG_DBTABLEPREFIX; + + $user=OC_OCS::checkpassword(); + + $result = OC_DB::select("select key,value,timestamp from {$CONFIG_DBTABLEPREFIX}privatedata where key like'% ".addslashes($key)."%' order by timestamp desc"); + $itemscount=count($result); + + $xml=array(); + foreach($result as $i=>$log) { + $xml[$i]['key']=$log['key']; + $xml[$i]['value']=$log['value']; + $xml[$i]['timestamp']=$log['timestamp']; + } + $txt=OC_OCS::generatexml($format,'ok',100,'',$xml,'activity','full',2,$totalcount,$pagesize); + echo($txt); + } + + /** + * set private data referenced by $key to $valu` + * @param string $key + * @param string $value + * @return string xml/json + */ + private static function privateDataSet($key, $value) { + global $CONFIG_DBTABLEPREFIX; + + //TODO: prepared statements, locking tables, fancy stuff, error checking/handling + $user=OC_OCS::checkpassword(); + + $result = OC_DB::query("select count(*) as co from {$CONFIG_DBTABLEPREFIX}privatedata where key = '".$key."'"); + $entry=$result->fetchRow(); + $existing=$entry['co']; + OC_DB::free_result($result); + + if ($existing != 0) { + $result = OC_DB::query("update {$CONFIG_DBTABLEPREFIX}privatedata set value='".addslashes($value)."', timestamp = now() where key = '".addslashes($key)."'"); + } else { + $result = OC_DB::query("insert into {$CONFIG_DBTABLEPREFIX}privatedata(key, value, timestamp) values('".addslashes($key)."', '".addslashes($value)."', now())"); + } + + echo(OC_OCS::generatexml($format,'ok',100,'')); + } } diff --git a/inc/lib_user.php b/inc/lib_user.php old mode 100755 new mode 100644 diff --git a/inc/package.dtd b/inc/package.dtd old mode 100755 new mode 100644 diff --git a/inc/packages/Archive_Tar.xml b/inc/packages/Archive_Tar.xml old mode 100755 new mode 100644 diff --git a/inc/packages/Console_Getopt.xml b/inc/packages/Console_Getopt.xml old mode 100755 new mode 100644 diff --git a/inc/packages/DB.xml b/inc/packages/DB.xml old mode 100755 new mode 100644 diff --git a/inc/packages/Log.xml b/inc/packages/Log.xml old mode 100755 new mode 100644 diff --git a/inc/packages/Mail.xml b/inc/packages/Mail.xml old mode 100755 new mode 100644 diff --git a/inc/packages/Mail_Mime.xml b/inc/packages/Mail_Mime.xml old mode 100755 new mode 100644 diff --git a/inc/packages/Net_SMTP.xml b/inc/packages/Net_SMTP.xml old mode 100755 new mode 100644 diff --git a/inc/packages/Net_Socket.xml b/inc/packages/Net_Socket.xml old mode 100755 new mode 100644 diff --git a/inc/packages/PEAR.xml b/inc/packages/PEAR.xml old mode 100755 new mode 100644 diff --git a/inc/packages/PHPUnit.xml b/inc/packages/PHPUnit.xml old mode 100755 new mode 100644 diff --git a/inc/packages/XML_Parser.xml b/inc/packages/XML_Parser.xml old mode 100755 new mode 100644 diff --git a/inc/packages/XML_RPC.xml b/inc/packages/XML_RPC.xml old mode 100755 new mode 100644 diff --git a/inc/pearcmd.php b/inc/pearcmd.php old mode 100755 new mode 100644 diff --git a/inc/templates/adminform.php b/inc/templates/adminform.php old mode 100755 new mode 100644 diff --git a/inc/templates/configform.php b/inc/templates/configform.php old mode 100755 new mode 100644 diff --git a/inc/templates/footer.php b/inc/templates/footer.php old mode 100755 new mode 100644 diff --git a/inc/templates/header.php b/inc/templates/header.php old mode 100755 new mode 100644 diff --git a/inc/templates/loginform.php b/inc/templates/loginform.php old mode 100755 new mode 100644 diff --git a/index.php b/index.php old mode 100755 new mode 100644 diff --git a/js/ajax.js b/js/ajax.js old mode 100755 new mode 100644 diff --git a/js/filebrowser.js b/js/filebrowser.js old mode 100755 new mode 100644 diff --git a/js/lib_ajax.js b/js/lib_ajax.js old mode 100755 new mode 100644 diff --git a/js/lib_api.js b/js/lib_api.js old mode 100755 new mode 100644 diff --git a/js/lib_drag.js b/js/lib_drag.js old mode 100755 new mode 100644 diff --git a/js/lib_event.js b/js/lib_event.js old mode 100755 new mode 100644 diff --git a/js/lib_files.js b/js/lib_files.js old mode 100755 new mode 100644 diff --git a/js/lib_notification.js b/js/lib_notification.js old mode 100755 new mode 100644 diff --git a/js/lib_timer.js b/js/lib_timer.js old mode 100755 new mode 100644 diff --git a/js/lib_xmlloader.js b/js/lib_xmlloader.js old mode 100755 new mode 100644 diff --git a/log/index.php b/log/index.php old mode 100755 new mode 100644 diff --git a/ocs/providers.php b/ocs/providers.php old mode 100755 new mode 100644 diff --git a/ocs/v1.php b/ocs/v1.php old mode 100755 new mode 100644 diff --git a/plugins/music/index.php b/plugins/music/index.php old mode 100755 new mode 100644 diff --git a/plugins/music/lib_music.php b/plugins/music/lib_music.php old mode 100755 new mode 100644 diff --git a/plugins/test/index.php b/plugins/test/index.php old mode 100755 new mode 100644 diff --git a/plugins/test/lib_test.php b/plugins/test/lib_test.php old mode 100755 new mode 100644 diff --git a/settings/index.php b/settings/index.php old mode 100755 new mode 100644 diff --git a/webdav/owncloud.php b/webdav/owncloud.php old mode 100755 new mode 100644