You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,4 +4,4 @@ Go library for secure file system operations scoped to an arbitrary root directo
4
4
5
5
This uses the Linux-specific [openat2](https://man7.org/linux/man-pages/man2/openat2.2.html) syscall with `RESOLVE_IN_ROOT` to prevent symlink escapes and race conditions. Other solutions like [securejoin](https://github.com/cyphar/filepath-securejoin) are subject to race conditions.
6
6
7
-
Unlike `O_NOFOLLOW`, this support all file system operations and works with symlinks (as long as they don't escape the specified root directory).
7
+
Unlike `O_NOFOLLOW`, this supports all file system operations and works with symlinks (as long as they don't escape the specified root directory).
0 commit comments