Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using exclude-wildcard in reverse mode causes long filename to have wrong owner #879

Open
DCsunset opened this issue Nov 19, 2024 · 0 comments

Comments

@DCsunset
Copy link

DCsunset commented Nov 19, 2024

Steps to reproduce:

  1. Initialize a dir reverse in reverse mode
  2. Create a dir called long inside it (for exclude-wildcard later)
  3. Create a file with long name in long dir
  4. Mount the directory in reverse mode with gocryptfs -reverse -ew '*' -ew '!long' reverse mnt" reverse mnt

After the above steps, the owner of file gocryptfs.longname.*.name in the mounted directory is root instead of the file's original user and is not readable by the other users.
If I remove the -ew flags, that file will have the correct user instead of root.

Might be related to #95.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant