Hi there,
I have some kind of strange problem and I canât find a solution to it. I have a Windows file server that I want to get access to through NextCloud. So I created some external storage entries to get access to some shares like the home directories. This works really good.
The problem I have now, is that some folders are not writable and so you canât upload or edit files. I found out, that all of these folders have custom icons (like âMy Musicâ, etc.). For folders to show icons, Windows requires them to be system folders - internally, at creation time there is a call to an API function called âPathMakeSystemFolderâ in âshlwapi.dllâ. Microsoft API docs
Generally those folders are writable, but somehow the external storage / smbclient does feel different about that. I have already removed all attributes, double-checked permissions, owner, etc. - it must have to do with that âsystem folderâ-flag.
What options do I have to solve this? I have googled for days now
EDIT:
Ok, I just found out, that removing the âreadonlyâ attribute from the folder is enough. Windows uses this attribute as some kind of marker, but still allows write-access to its content. Unfortunately, this also removes the folder icon.
Thanks a lot!
Bruno