You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A folder shared with two groups appears twice for an user in these two groups. #9724
changed the title [-]Sharing with multiple groups create mutliple entry for a specific user[/-][+]Sharing through multiple groups create mutliple entry for a specific user[/+]on Jul 18, 2014
changed the title [-]Sharing through multiple groups create mutliple entry for a specific user[/-][+]A folder shared with two groups appears twice for an user in these two groups.[/+]on Jul 18, 2014
This gets even worse if you're using the desktop client (at least on Mac, i can confirm). When you're uploading some files to the share which has modifications enabled, the client instantly downloads everything again into the other share. So all files exist twice in these two folders. It seems OC does not recognize the physical folders as one but sees them as seperate ones.
That's how the ownCloud sharing works since the beginning. So I wouldn't call it a bug. But I agree that we should change the behaviour and group the shares. I'm already working on it: #10107
This includes some larger changes. Not sure if we want to change it for OC7 also because it is not really a bug, but it will definitely be ready for OC8.
Strange, I tried these steps in OC 6.0.5 but the target user only gets a single entry.
So I suppose this is OC 7 specific ? (the report mentionned OC 6.0.3)
During my test in oc 6.0.3 sometimes the bug appears when I try to share
a second folder through 2 groups. Sometimes the bug appears for the
first folder.
@jammon88 thanks, can you check the steps from #9724 (comment) whether it matches your sharing setup.
Or provide steps how to recreate the sharing situation you have on your server.
There are different versions of this issue (some involving different permissions), I just wanted to make sure which one it is. Thanks.
We have different permissions, like in the post above. Group 1 has all right, Group 2 only read right. In the sharing folder named "shared" from the syncuser I've all right, in the sharing named "shared (1)" (looks like a linked folder) I've only read right with my personal user.
Had 9.x.x? forgot (sry) and this was annoying me. Just to let people know that 9.1.2(stable) fixes this. I had to manually upgrade on 2 boxes though. Updater said it was up to date.
The duplicated folders were removed from all accounts after the update.
Side note: Manually upgrading is actualy easier and faster. I think I will always go this route from now on. So, don`t be scared if you need to manually upgrade as well. Just make sure you are not jumping too many versions.
Activity
[-]Sharing with multiple groups create mutliple entry for a specific user[/-][+]Sharing through multiple groups create mutliple entry for a specific user[/+][-]Sharing through multiple groups create mutliple entry for a specific user[/-][+]A folder shared with two groups appears twice for an user in these two groups.[/+]karlitschek commentedon Jul 18, 2014
@schiesbn Can you have a look please?
foobarth commentedon Aug 22, 2014
This gets even worse if you're using the desktop client (at least on Mac, i can confirm). When you're uploading some files to the share which has modifications enabled, the client instantly downloads everything again into the other share. So all files exist twice in these two folders. It seems OC does not recognize the physical folders as one but sees them as seperate ones.
schiessle commentedon Aug 22, 2014
That's how the ownCloud sharing works since the beginning. So I wouldn't call it a bug. But I agree that we should change the behaviour and group the shares. I'm already working on it: #10107
This includes some larger changes. Not sure if we want to change it for OC7 also because it is not really a bug, but it will definitely be ready for OC8.
PVince81 commentedon Sep 4, 2014
Strange, I tried these steps in OC 6.0.5 but the target user only gets a single entry.
So I suppose this is OC 7 specific ? (the report mentionned OC 6.0.3)
phlb commentedon Sep 4, 2014
Hi,
During my test in oc 6.0.3 sometimes the bug appears when I try to share
a second folder through 2 groups. Sometimes the bug appears for the
first folder.
PVince81 commentedon Sep 4, 2014
Yeah, from what we saw in the code the logic isn't very clear/clean. There might be combinations of share that might work, others that don't.
21 remaining items
jammon88 commentedon Jul 5, 2016
Hi there
Same issue with OC 9.0.3. In OC 8 we haven't that problem. Thanks for your check and fix.
PVince81 commentedon Jul 5, 2016
@jammon88 mind giving more details about your config and the way the shares are set up to confirm that it's the same issue ?
jammon88 commentedon Jul 5, 2016
Of course:
Server: Ubuntu 14.04.04
Database: mysql Ver 14.14 Distrib 5.5.49
Webserver: Apache/2.4.7
Owncloud: 9.0.3
Share from a syncuser for LDAP synced groups. (two Groups)
Problem since update from OC 8.1.? to OC 9.0.3 with apt-get upgrade.
Config:
'mysql', 'version' => '9.0.3.2', 'dbname' => 'owncloud', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'installed' => true, 'loglevel' => '2', 'forcessl' => true, 'ldapIgnoreNamingRules' => false, 'theme' => '', 'maintenance' => false, 'share_folder' => '/Shared', 'overwrite.cli.url' => '/owncloud', 'trashbin_retention_obligation' => 'auto', 'updatechecker' => false, 'memcache.local' => '\OC\Memcache\APCu', 'logtimezone' => 'Europe/Zurich', 'log_type' => 'owncloud', 'log_rotate_size' => 1048576, ); (rows with usernames, passwords, ids etc. I've deleted ;)) Do you need more infos? When yes, what?PVince81 commentedon Jul 5, 2016
@jammon88 thanks, can you check the steps from #9724 (comment) whether it matches your sharing setup.
Or provide steps how to recreate the sharing situation you have on your server.
There are different versions of this issue (some involving different permissions), I just wanted to make sure which one it is. Thanks.
jammon88 commentedon Jul 5, 2016
We have different permissions, like in the post above. Group 1 has all right, Group 2 only read right. In the sharing folder named "shared" from the syncuser I've all right, in the sharing named "shared (1)" (looks like a linked folder) I've only read right with my personal user.
PVince81 commentedon Jul 5, 2016
Okay, thanks for the info.
neoone256 commentedon Jul 11, 2016
Hello, is it there any solution for this yet? I am having this problem on version 9.0.3
norganna commentedon Jul 12, 2016
Confirmed again, would seem to have regressed in 9.0.3.
If I am in 2 groups to which a folder is shared, the folder appears twice.
In my case both groups have the same permission.
Public.PublicandPublic (2).Not sure if it's relevant, but in my case, Group X is an LDAP group and Group Y is an internal group with LDAP users in it.
PVince81 commentedon Jul 12, 2016
Yes, indeed. Closing as duplicate of #24575
tavinus commentedon Nov 29, 2016
Had 9.x.x? forgot (sry) and this was annoying me. Just to let people know that 9.1.2(stable) fixes this. I had to manually upgrade on 2 boxes though. Updater said it was up to date.
The duplicated folders were removed from all accounts after the update.
Side note: Manually upgrading is actualy easier and faster. I think I will always go this route from now on. So, don`t be scared if you need to manually upgrade as well. Just make sure you are not jumping too many versions.
N0rimaki commentedon Apr 16, 2017
Are you People sure this behaviour is fixed? 9.1.4(stable) VM Image
I have still this Issue.
-main
....-sub1
....-sub2
2 Groups
group1
group2
-main (group1, group 2 all rights)
....-sub1 (grou1 only read rights, with sharing in folder again)
....-sub2
Download on Windows
-main
....-sub1 (group1 all rights)
....-sub2
-sub1 (group1 only read rights)
lock commentedon Aug 2, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.