I have this very funny situation that I cannot really wrap my head around.
Case1
User A creates a file in the home, shares it with everyone
User B can see and access the file
Case2
User A creates a file in a sub-folder of the home, shares it with everyone
User B cannot even see the file in the file manager
I can’t seem to find any way in the UI to customize permissions for folders, so I am assuming that folders are readable by default.
Anyways, I am a developer too, so I dug into the code trying to find where the file list is generated, but the code-base is too large and couldn’t find it. Any clues on where I should start looking or on what is wrong?
I really think the “bug” (if it can be considered such) is in the way permissions are managed for folders.
I found out that I can assign folder permissions using the administrator user, but I cannot change folder permissions with a normal user, even if it is the owner of the folder.
Also, even if the files themselves are accessible from User B (as shown in the following snippet) since the folders are not, nothing shows up in the file manager. This is expected, but it is rather unexpected that User A wouldn’t be able to control permissions on its own folders.