cant't delete and rename files with double extension filename.exe.zip
Expected behaviour
I uploaded successfully a file , which containt a double extension (filename.exe.zip).
Can't delete or rename the file.
Steps to reproduce
Upload or create a file that contains a double extension like filename.exe.zip Try to delete it or rename
Server configuration
Operating system: Linux CentOS 6.4 32bit
Web server: Apache2
Database: mysql
PHP version: PHP 5.5.0-dev (cli) (built: Mar 20 2013 17:25:17) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.5.0-dev, Copyright (c) 1998-2013 Zend Technologies with Xdebug v2.2.2dev, Copyright (c) 2002-2012, by Derick Rethans
ownCloud version: 5.0.3
Client
Browser: Firefox
Operating system: Linux
Sorry merlin2004, I am not a developer, just another user. But I just tried his and I don't seem to have this bug. I can upload files with double extensions and I am able to rename and delete them in the browser. I use Mac OSX 10.8.3 with Firefox 20 as webclient but also tried this with Debian Wheezy with Iceweasel in Virtualbox. Server is Debian Wheezy, Apache 2.2, PHP 5.4.4. Owncloud 5.03.
I do not have a lot of apps activated on the server though. I activated versions but renaming and deleting works still well with versions. Have you time to check out which apps are running on your owncloud server? Have you tried another client?
regards Ulrich
@merlin2004 please disable your apps step-by-step in order to find out which one is causing the issue. THX
Try the following: Create a new file for example test.txt. rename this file to test.txt.zip. And now try to delete the file. It doesn't work on my OC 5.0.6RC Installation.
I just did exactly this in the web-interface (owncloud 5.05 etc. see above). It was no problem. I also tried this with a client (Windows XP, owncloud client 1.2.5). No problem.
If you click "Try it" on the upper right of the owncloud.org homepage, you can test owncloud. I also had no problem there to create test.txt, rename it to test.txt.zip and delete it.
Is this a problem with MySQL? I use SQLite. Maybe you misconfigured the user rights?
After some new tests I found the problem. It seems to be a issue with "Archive support". If I disable "Archive Support" it works for me too.
Wow. Great finding! As owncloud-core isn't the correct place for problems with the files_archive app, it would be great, if you could open another bugreport for that issue at:
https://github.com/owncloud/apps/issues?state=open
BTW: The bug seems identical to this one: https://github.com/owncloud/core/issues/2863
Unfortunately it seems that bug 2863 was never reopened. It would be unfortunate if this happened to your issue too. Some people here seem very eager to close issues, but do not care if the problem will ever be solved.
I created a new thread in the correct section: https://github.com/owncloud/apps/issues/1100