Other{Read, Write, Execute} is returning the status of the group permissions
Closed this issue · 3 comments
johanbrandhorst commented
This seems to be a pretty obvious copy&paste fail:
func (b PermissionBits) OtherRead() bool {
return b&GroupRead != 0
}
func (b PermissionBits) OtherWrite() bool {
return b&GroupWrite != 0
}
func (b PermissionBits) OtherExecute() bool {
return b&GroupExecute != 0
}
johanbrandhorst commented
🤦♂️ there's even a PR open already #1
vikramdurai commented
?Guessing this should be closed @phayes
phayes commented
Closed. I think this has been fixed,