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

Add kernel function to fully resolve paths #42

Merged
merged 4 commits into from
Mar 5, 2024

Conversation

fischerling
Copy link
Contributor

With this changes chmod and chown behave like documented and resolve all symlinks encountered in the path.

This has the advantage that if we already have an absolute path we
do not need to canonicalize the path again.
resolve_path supports canonicalizing paths, by optionally following all
symbolic links in the path and stripping potential final path
separators.
@Galfurian Galfurian added bug Something isn't working enhancement New feature or request labels Mar 1, 2024
@Galfurian Galfurian merged commit 7150f33 into mentos-team:develop Mar 5, 2024
17 checks passed
@fischerling fischerling deleted the resolve-path branch March 14, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants