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

Symlink owner is not set in forward mode with plaintextnames enabled #176

Closed
slackner opened this issue Nov 25, 2017 · 1 comment
Closed

Comments

@slackner
Copy link
Contributor

See the corresponding Symlink() implementation in internal/fusefrontend/fs.go. In all other code paths the owner is set, only here it is missing.

@slackner
Copy link
Contributor Author

slackner added a commit to slackner/gocryptfs that referenced this issue Nov 28, 2017
This is already done in regular mode, but was missing when PlaintextNames mode
is enabled. As a result, symlinks created by non-root users were still owned
by root afterwards.

Fixes rfjakob#176
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