.htaccess fileWe think that this is causes by the NC code do not allow to write .htaccess files in the apps.
cc @rullzer @blizzz @ChristophWurst
It seems that the file is actually in the archive, but does not get properly extracted :/
I did some testing and digging and found the problem:
The file is ignored after extraction the extraction dir still contains the .htaccessfiles but after copyr the files are gone. This is caused by a blacklist check:
https://github.com/nextcloud/server/blob/master/lib/private/legacy/helper.php#L191
.htaccess is returned:
https://github.com/nextcloud/server/blob/master/lib/private/Files/Filesystem.php#L620
I guess .htaccess is blacklisted for a good reason and we can't simply remove it.
@Grotax Thanks - and suddenly all makes sense. So the approach by @rullzer was the correct one - it should simply not be packaged: https://github.com/nextcloud/news/pull/347
Thanks again for this finding. 馃憤
Most helpful comment
I did some testing and digging and found the problem:
The file is ignored after extraction the extraction dir still contains the
.htaccessfiles but aftercopyrthe files are gone. This is caused by a blacklist check:https://github.com/nextcloud/server/blob/master/lib/private/legacy/helper.php#L191
.htaccessis returned:https://github.com/nextcloud/server/blob/master/lib/private/Files/Filesystem.php#L620
I guess
.htaccessis blacklisted for a good reason and we can't simply remove it.