OS X: remove .htaccess from sync-exclude.lst by default
Hi devs,
Can you please remove .htaccess by default in "sync-exclude.lst"? I am sharing website related content on my OC server. To keep the .htaccess file is important!
Thank you very much Stefan
ownCloud won't allow you to upload .htaccess files in the default environment, this is due to security reasons as the data folder is often inside the webroot. (see https://github.com/owncloud/core/blob/7f7d674c2af4d4b9202cb55d5edf4965f92d3ab8/lib/private/files/filesystem.php#L524)
This can be adjusted by the ownCloud administrator using config.php, but I'm not sure what the impact on the client would be.
@danimo How will the client react if the server forbids uploading the file? - Trying it again and again or being clever and stop further uploads of this file? (It may be a good idea to disclose the blacklisted file names via our API)
The server will not accept .htaccess files for security reasons. Until that has changed, this is a WONTFIX.
@LukasReschke the client will throw an error, and should eventually refuse to upload the file.
Ok, I will then move my web related stuff to another solution