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
- Split syscall.Chmod into platform-specific files (chmod_unix.go, chmod_windows.go)
with build tags to avoid breaking Windows builds
- Fix permission comparison mask in chmodIfPermissionMismatch to include
setuid/setgid/sticky bits, not just os.ModePerm (0777)
- Add fileModeToUnixMode helper to correctly convert raw Unix mode values
to Go's os.FileMode representation
- Add unit tests for special bits (02770, 01777, 04755) in chmod_unix_test.go
0 commit comments