Skip to content

Conversation

@icewind1991
Copy link
Contributor

For now it's always blocked, will look into adding a mount option seperatly

cc @PVince81

@icewind1991 icewind1991 added this to the 9.1-current milestone May 30, 2016
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @DeepDiver1975, @PVince81 and @blizzz to be potential reviewers

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in which cases is this loop necessary ? broken symlinks ?

Copy link
Contributor Author

@icewind1991 icewind1991 May 30, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non existing files/folders, it checks the first existing parent folder for symlinks

@PVince81
Copy link
Contributor

@icewind1991 from now on please mention @owncloud/filesystem for reviews in this part

@PVince81
Copy link
Contributor

PVince81 commented May 30, 2016

  • BUG: occ files:scan --all aborts when finding symlink with a bogus error message "Home storage for user admin not writable"

@PVince81
Copy link
Contributor

PVince81 commented May 30, 2016

  • BUG: "following symlink not allowed" exception is causing Webdav 500. Please make this a 403

@PVince81
Copy link
Contributor

Not sure if a bug, but the disallowed symlink doesn't appear in Webdav's PROPFIND results.
This means it's invisible but a user can still perform operations, like mkdir symlink, trying to overwrite it somehow. Still gives a 500 like above.

@PVince81
Copy link
Contributor

Bugs were found, setting back to "Developing"

@icewind1991 icewind1991 force-pushed the local-storage-symlinks branch 2 times, most recently from ec39a45 to 787dd5d Compare June 1, 2016 12:55
@icewind1991
Copy link
Contributor Author

@PVince81 all fixed

@PVince81
Copy link
Contributor

PVince81 commented Jun 1, 2016

@icewind1991 thanks, it works now.

Can you make it so that the invalid symlink still appears in the list ?
Currently it's invisible and it could cause UX trouble or other bugs when trying to perform operations on an invisible but forbidden file.

@icewind1991
Copy link
Contributor Author

It's possible but will take more work since it will make the blocking of symlinks conditional.

I also don't think it's an important enough usecase

@PVince81
Copy link
Contributor

PVince81 commented Jun 1, 2016

Hmm, or it will need a different implementation. Basically let it always be displayed, but when trying to scan or access it, block it with 403 like the firewall does.

I'm ok with merging this as is as it's a corner case, but please let me know what you think about the above idea.

@icewind1991
Copy link
Contributor Author

icewind1991 commented Jun 1, 2016

For it to be displayed it needs to allow scanning

@PVince81
Copy link
Contributor

PVince81 commented Jun 1, 2016

👍

@PVince81
Copy link
Contributor

PVince81 commented Jun 6, 2016

Needs second review @owncloud/filesystem @mmattel

@PVince81
Copy link
Contributor

PVince81 commented Jun 6, 2016

@nickvergessen @georgehrke

@PVince81
Copy link
Contributor

PVince81 commented Jun 7, 2016

@guruz @dragotin

@guruz
Copy link
Contributor

guruz commented Jun 7, 2016

Looks ok, haven't tested it.. 👍

@PVince81
Copy link
Contributor

PVince81 commented Jun 7, 2016

@icewind1991 can you rebase to kick CI ? Seems even sqlite died 💀

@icewind1991 icewind1991 force-pushed the local-storage-symlinks branch from 787dd5d to b9b57e0 Compare June 7, 2016 11:27
@icewind1991
Copy link
Contributor Author

jenkins has been poked

@nickvergessen
Copy link
Contributor

integration tests fail

@icewind1991 icewind1991 force-pushed the local-storage-symlinks branch from b9b57e0 to f119769 Compare June 7, 2016 12:02
@icewind1991
Copy link
Contributor Author

Forgot to update the tests when I changed the exception, should be fine now

@lock
Copy link

lock bot commented Aug 5, 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.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants