Skip to content

file creation in Shared folder creates wrong filesystem cache entry #325

Closed

Description

@schiessle

When adding a new file/folder to a shared directory than the current user gets added in the filesystem cache table as the owner of the file instead of the real owner.

Example:

User A shares a folder (foo) with User B and gives him write access to the folder.
Now User B access this folder through his Shared-folder and add a new file (bar.txt) to it.

Result: The filesystem cache entry has the right path to the file location (/userA/files/foo/bar.txt) in User A files directory but with User B as the owner of the file. Additionally it creates a second entry which looks like this /userB/files/userA/files/foo with the parent '-1' and User B as owner.

Activity

  1. ghost assigned on Nov 12, 2012
  2. MTGap commented on Jan 1, 2013

    @MTGap
    Contributor

    Fixed in the filesystem branch.

  3. DeepDiver1975 commented on Jan 1, 2013

    @DeepDiver1975
    Contributor

    @MTGap can you please post the commit? Thx
    Do we need to backport this?

  4. MTGap commented on Jan 1, 2013

    @MTGap
    Contributor

    Can't backport or specify one commit. The entire filesystem branch changes were necessary for this one to be fixed properly :)

  5. DeepDiver1975 commented on Jan 2, 2013

    @DeepDiver1975
    Contributor

    Hmmm - what are we going to do about this issue in stable45? Or is it not that critical?

  6. karlitschek commented on Jan 2, 2013

    @karlitschek
    Contributor

    This is an ugly bug but I agree with Michael that backporting is super complex and might introduce new bugs. So let's skip it for now.

  7. locked as resolved and limited conversation to collaborators on Aug 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions