Duplicate folders when shared with User and Group

Ask all your questions regarding OC 6.x Please read the Support Forum Rules
Forum rules
Before you post; make sure you are using at least PHP Version 5.3.x - Also read Support Forum - Read this before posting

Duplicate folders when shared with User and Group

Postby flyfoxuk » Mon Feb 03, 2014 2:12 pm

I am sharing a folder that I own with both a group of people (for read only access) and another individual user (for read and write access).

When that individual logs in to his account, he sees the folder I shared twice: once as it should appear, and another time with a "(2)" appended to it.

This is confusing him (and me!)

When I first saw this I thought it was an error so I clicked to delete the "Test (2)" folder, but it deleted both instances.

Is there a way to only show the shared folder once? I am guessing it has to do with read vs read/write permissions between the group share and the individual share?

Many thanks for any help,

Chris
Attachments
Screen Shot 2014-02-03 at 12.02.30.png
Screen Shot 2014-02-03 at 12.02.30.png (17.33 KiB) Viewed 1210 times
flyfoxuk
Newbie
 
Posts: 1
Joined: Mon Feb 03, 2014 2:08 pm
ownCloud version: 6.0.1
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.4.23

Re: Duplicate folders when shared with User and Group

Postby srfreeman » Mon Feb 03, 2014 3:22 pm

Hello flyfoxuk,

The issue is fundamental...

There is no point in both a read / write and a read only share of the same folder to the same user.
srfreeman
OwnCloud professional
 
Posts: 1625
Joined: Sun Apr 21, 2013 10:34 am
Location: US
ownCloud version: 6.0.4
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.3.10

Re: Duplicate folders when shared with User and Group

Postby Ahuri3 » Tue Apr 08, 2014 11:30 am

Hello. I am having the same issue.

Here is the scenario :
I have a group called "Family". This group includes user "Girlfriend", "Brother", "Sister", "Parents", "Step-Parents".

I want to share pictures with the group so I share it with read only rights to the group "Familly".

I also want the user "Girlfriend" to be able to edit (delete pictures she doesn't like) and add some pictures to the shared folder. To give her edit rights I had to create another share with only the user "Girlfriend".

What the user "Girlfriend" will get is a duplicate folder.

Here is an example of what we get :
Image

The folders with a (2) are a duplicate of the folders above. The storage space is counted twice (in this example the "Shared folder" is 8.3GB big instead of around 4.2GB big.
Ahuri3
Newbie
 
Posts: 1
Joined: Tue Apr 08, 2014 11:13 am
ownCloud version: 6.0.2
Webserver: Apache
Database: MySQL
OS: Linux

Re: Duplicate folders when shared with User and Group

Postby srfreeman » Tue Apr 08, 2014 2:32 pm

Hello Ahuri3,

Simply remove 'Girlfriend' from the group.
srfreeman
OwnCloud professional
 
Posts: 1625
Joined: Sun Apr 21, 2013 10:34 am
Location: US
ownCloud version: 6.0.4
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.3.10

Re: Duplicate folders when shared with User and Group

Postby ransico » Mon Jul 07, 2014 3:18 am

I realise that this thread might be a month or two old, however it exactly describes the issue I am facing.

And srfreeman, while your workaround might scale for 'home' usage, it does not for business.

For example, we might have hundreds of employees in a 'company' group, which we want to grant 'read' to a particular folder, high in the directory. Then subfolders within this will have write access granted at a per-group level. As noted above, the end-user will see a duplicate.

Worse still, when the user navigates into the 'read only' version, they cannot modify any files even though they have write access granted.

It strikes me that the sharing capabilities are not robust/scalable enough to be used for a large use case - I would love to know if there are any plans for the future for a structured sharing approach, usable by enterprise or business users.
ransico
Newbie
 
Posts: 1
Joined: Mon Jul 07, 2014 3:12 am
ownCloud version: 6.0.3
Webserver: Apache
Database: MySQL
OS: Linux

Re: Duplicate folders when shared with User and Group

Postby rribeirorj » Sat Jul 19, 2014 2:22 am

Hello!

Having the same problem!!

Solution???
rribeirorj
Newbie
 
Posts: 1
Joined: Sat Jul 19, 2014 2:21 am

Re: Duplicate folders when shared with User and Group

Postby RandolphCarter » Sun Jul 20, 2014 12:34 am

You might get better answers than here of addressing the developers directly, either via a feature request or on the mailing list.
RandolphCarter
Inventory
 
Posts: 4356
Joined: Wed May 30, 2012 8:42 am
ownCloud version: 7.0.1
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.5.x

Re: Duplicate folders when shared with User and Group

Postby scholli76 » Fri Sep 05, 2014 8:19 pm

Hello,

I've the same problem:

I share a folder to 2 groups
One of my users is in both groups and see the folder and it's duplicate ( with additional "(2)" ) like the other posted before. This is very confusing.
Question:
Has anyone already informed the developers about this?
scholli76
Newbie
 
Posts: 1
Joined: Fri Sep 05, 2014 8:04 pm
ownCloud version: 7.0.2

Re: Duplicate folders when shared with User and Group

Postby Hammerhead » Tue Oct 07, 2014 5:02 pm

Ditto here. New OC 7.x install, when I share a folder with two groups, I get a 'Folder Name (2)' appearing. I have no problem deleting it, but it is a cause of some concern because it makes me wonder if there's something wrong with the system on the back end. Is there some procedure we ought to follow to avoid this happening? Can anyone put my mind at ease, or should I do a reinstall from scratch?
Hammerhead
Beginner
 
Posts: 14
Joined: Sat Jun 08, 2013 7:23 pm
ownCloud version: 7.0.2
Webserver: Apache
Database: MySQL
OS: Linux Hosting Package
PHP version: 5.4

Re: Duplicate folders when shared with User and Group

Postby tflidd » Wed Oct 08, 2014 2:41 pm

It seems, that this a problem in Owncloud which won't be solved by a new installation. Please look on github, if this problem has been reported and if not open one as RandolphCarter said. You can continue complaining here but that won't change anything.
tflidd
Experienced User
 
Posts: 649
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 7.0.2
Webserver: Apache
Database: MySQL
OS: Linux


Return to ownCloud Community Edition 6.x

Who is online

Users browsing this forum: No registered users and 9 guests