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 How To Solve Problems By Yourself

Duplicate folders when shared with User and Group

Postby flyfoxuk » Mon Feb 03, 2014 1: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 525 times
flyfoxuk
Newbie
 
Posts: 1
Joined: Mon Feb 03, 2014 1: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 2: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 9: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 10: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 10: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 1:32 pm

Hello Ahuri3,

Simply remove 'Girlfriend' from the group.
srfreeman
OwnCloud professional
 
Posts: 1625
Joined: Sun Apr 21, 2013 9: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 2: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 2: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 1:22 am

Hello!

Having the same problem!!

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

Re: Duplicate folders when shared with User and Group

Postby RandolphCarter » Sat Jul 19, 2014 11:34 pm

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: 3933
Joined: Wed May 30, 2012 7:42 am
ownCloud version: 6.0.2
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.5.x


Return to ownCloud Community Edition 6.x

Who is online

Users browsing this forum: AlanMcCright, davygravy and 18 guests