We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ba0274 commit 9ba7072Copy full SHA for 9ba7072
1 file changed
internal/ufs/fs_unix.go
@@ -90,7 +90,7 @@ func (fs *UnixFS) Chmodat(dirfd int, name string, mode FileMode) error {
90
}
91
92
func (fs *UnixFS) fchmodat(op string, dirfd int, name string, mode FileMode) error {
93
- return ensurePathError(unix.Fchmodat(dirfd, name, uint32(mode), 0), op, name)
+ return ensurePathError(unix.Fchmodat(dirfd, name, uint32(mode), AT_SYMLINK_NOFOLLOW), op, name)
94
95
96
// Chown changes the numeric uid and gid of the named file.
0 commit comments