Enable file upload to shared folder with create permission only

Fixes #4341 in stable5

@karlitschek candidate for 5.0.10 ?

@MTGap @icewind1991 @blizzz @schiesbn @butonic THX