Sharing by link from within Shared folder broken #117

Closed
MTRichards opened this Issue Oct 27, 2012 · 19 comments

Comments

Projects
None yet
8 participants
@MTRichards
Contributor

MTRichards commented Oct 27, 2012

I've tested the new version and found some issue fixed but share links don't work for ldap users. Those links get "owncloud cloud not found" when they try to share the file/folder.

4.5.1

EDIT blizzz: updated issue title

@ghost ghost assigned blizzz Oct 27, 2012

@MTRichards MTRichards closed this Oct 27, 2012

@MTRichards MTRichards reopened this Oct 27, 2012

@MTRichards

This comment has been minimized.

Show comment Hide comment
@MTRichards

MTRichards Oct 28, 2012

Contributor

More info: It's when accessing the link, it only happens with ldap users, some kind of
issue with the user mapping I think.
All the ldap users are in a local group, the can share in owncloud, when they
share a link the link fails when accessing. The local user, the admin, has no
issues though.

Contributor

MTRichards commented Oct 28, 2012

More info: It's when accessing the link, it only happens with ldap users, some kind of
issue with the user mapping I think.
All the ldap users are in a local group, the can share in owncloud, when they
share a link the link fails when accessing. The local user, the admin, has no
issues though.

@blizzz

This comment has been minimized.

Show comment Hide comment
@blizzz

blizzz Oct 28, 2012

Contributor

Do I understand correctly: as LDAP user, you share a file by link. The link however throws an 404 ("owncloud cloud not found")? And it happens using 4.5.1?

Contributor

blizzz commented Oct 28, 2012

Do I understand correctly: as LDAP user, you share a file by link. The link however throws an 404 ("owncloud cloud not found")? And it happens using 4.5.1?

@blizzz

This comment has been minimized.

Show comment Hide comment
@blizzz

blizzz Oct 28, 2012

Contributor

Might be related to #89

Contributor

blizzz commented Oct 28, 2012

Might be related to #89

@MTRichards

This comment has been minimized.

Show comment Hide comment
@MTRichards

MTRichards Oct 29, 2012

Contributor

More Info:
I've found the issue only to occur when a user, ldap or local, shares a file
via link within a directory shared by a other user within owncloud.
There are no problems with files outside of shared directories.
So the steps to reproduce would be the following.

  • create 2 users (user1, user2) both member of the same group (group1)
  • login as user1 and create a directory
  • share the directory with group1
  • logout and login as user2, go to the shared directory
  • upload a file and share the file with a link
  • open a second browser and open the link
  • the error "cloud not found" appears, the file cannot be downloaded
    I have reproduced this on a second owncloud instance on a different server. Any
    viewer app was disabled, only the following apps where active.
  • Archive support 0.2
  • Ldap user and group backend 0.3.0.0
  • Share files 0.3.3
  • Versions 1.0.2
    Hope this helps.
Contributor

MTRichards commented Oct 29, 2012

More Info:
I've found the issue only to occur when a user, ldap or local, shares a file
via link within a directory shared by a other user within owncloud.
There are no problems with files outside of shared directories.
So the steps to reproduce would be the following.

  • create 2 users (user1, user2) both member of the same group (group1)
  • login as user1 and create a directory
  • share the directory with group1
  • logout and login as user2, go to the shared directory
  • upload a file and share the file with a link
  • open a second browser and open the link
  • the error "cloud not found" appears, the file cannot be downloaded
    I have reproduced this on a second owncloud instance on a different server. Any
    viewer app was disabled, only the following apps where active.
  • Archive support 0.2
  • Ldap user and group backend 0.3.0.0
  • Share files 0.3.3
  • Versions 1.0.2
    Hope this helps.
@blizzz

This comment has been minimized.

Show comment Hide comment
@blizzz

blizzz Oct 29, 2012

Contributor

Yes, this behaviour I can confirm.
It's an issue within Sharing, not related to LDAP.
@MTGap @schiesbn is it known or do you know where the problem could be?

Contributor

blizzz commented Oct 29, 2012

Yes, this behaviour I can confirm.
It's an issue within Sharing, not related to LDAP.
@MTGap @schiesbn is it known or do you know where the problem could be?

@schiessle

This comment has been minimized.

Show comment Hide comment
@schiessle

schiessle Oct 30, 2012

Member

I fixed this a few days ago (3b9c10d)

The fix is already part of 4.5.1a but not in 4.5.1! Can you try it with 4.5.1a or with stable45 branch from git?

Member

schiessle commented Oct 30, 2012

I fixed this a few days ago (3b9c10d)

The fix is already part of 4.5.1a but not in 4.5.1! Can you try it with 4.5.1a or with stable45 branch from git?

@blizzz

This comment has been minimized.

Show comment Hide comment
@blizzz

blizzz Oct 30, 2012

Contributor

I experienced it with the stable45 branch.

Contributor

blizzz commented Oct 30, 2012

I experienced it with the stable45 branch.

@tareko

This comment has been minimized.

Show comment Hide comment
@tareko

tareko Nov 2, 2012

This problem exists for me as well despite clearly having the code from #117 (comment)

tareko commented Nov 2, 2012

This problem exists for me as well despite clearly having the code from #117 (comment)

@blizzz

This comment has been minimized.

Show comment Hide comment
@blizzz

blizzz Nov 8, 2012

Contributor

@schiesbn do you have an update?

Contributor

blizzz commented Nov 8, 2012

@schiesbn do you have an update?

@ghost ghost assigned schiessle Nov 9, 2012

@schiessle

This comment has been minimized.

Show comment Hide comment
@schiessle

schiessle Nov 12, 2012

Member

I can reproduce it. There seems to be more problems related to file creation in shared folders (see issue #325). As I understood @MTGap this is something which can't be solved that easily with the code we have at the moment. Maybe we have to wait for the new filesystem cache. @MTGap can you have a look at it. What do you think?

Member

schiessle commented Nov 12, 2012

I can reproduce it. There seems to be more problems related to file creation in shared folders (see issue #325). As I understood @MTGap this is something which can't be solved that easily with the code we have at the moment. Maybe we have to wait for the new filesystem cache. @MTGap can you have a look at it. What do you think?

@blizzz

This comment has been minimized.

Show comment Hide comment
@blizzz

blizzz Nov 12, 2012

Contributor

Honestly, it's a basic functionality and it might be hard to understand for users to wait for yet another release for fully working Sharing. Especially since it is entitled as a supported app.

Contributor

blizzz commented Nov 12, 2012

Honestly, it's a basic functionality and it might be hard to understand for users to wait for yet another release for fully working Sharing. Especially since it is entitled as a supported app.

@MTGap

This comment has been minimized.

Show comment Hide comment
@MTGap

MTGap Nov 12, 2012

Contributor

@schiesbn this isn't related to issue #325 I'll try to look at it later, but my time is limited this week.

Contributor

MTGap commented Nov 12, 2012

@schiesbn this isn't related to issue #325 I'll try to look at it later, but my time is limited this week.

@schiessle

This comment has been minimized.

Show comment Hide comment
@schiessle

schiessle Nov 21, 2012

Member

It is probably the same as #382 So this should also be solved with #380, right?

Member

schiessle commented Nov 21, 2012

It is probably the same as #382 So this should also be solved with #380, right?

@butonic

This comment has been minimized.

Show comment Hide comment
@butonic

butonic Nov 22, 2012

Owner

@schiesbn Could you test #380 with regard to this issue and give me your thumbs up when this is solved?

Owner

butonic commented Nov 22, 2012

@schiesbn Could you test #380 with regard to this issue and give me your thumbs up when this is solved?

@schiessle

This comment has been minimized.

Show comment Hide comment
@schiessle

schiessle Nov 26, 2012

Member

fix will be released with ownCloud 4.5.3

Member

schiessle commented Nov 26, 2012

fix will be released with ownCloud 4.5.3

@schiessle schiessle closed this Nov 26, 2012

@herr-lehmann

This comment has been minimized.

Show comment Hide comment
@herr-lehmann

herr-lehmann Jan 30, 2013

I'm running 4.5.6 and still encounter this problem.
We are sharing a folder with mulitple users and all works fine. But when we try to access files by the share link, we get a 404.
owncloud-404

What information do you need to reproduce this issue?

I'm running 4.5.6 and still encounter this problem.
We are sharing a folder with mulitple users and all works fine. But when we try to access files by the share link, we get a 404.
owncloud-404

What information do you need to reproduce this issue?

@blizzz

This comment has been minimized.

Show comment Hide comment
@blizzz

blizzz Jan 30, 2013

Contributor

Please open a new bug for it. It's likely to have a different cause.

Contributor

blizzz commented Jan 30, 2013

Please open a new bug for it. It's likely to have a different cause.

@yeomos

This comment has been minimized.

Show comment Hide comment
@yeomos

yeomos Feb 14, 2013

I agree. Still broken in 4.5.6

yeomos commented Feb 14, 2013

I agree. Still broken in 4.5.6

@herr-lehmann

This comment has been minimized.

Show comment Hide comment
@herr-lehmann

herr-lehmann Feb 15, 2013

I created a new issue (#1382) for this. Please check if you can reproduce this behavior.

I created a new issue (#1382) for this. Please check if you can reproduce this behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment