In this case, by setting 7760, you have set:
Owner: 7
OwnerGroup: 6
Other:0
The leading 7 activates 3 special classes of permissions, consisting of SetUID, SetGID, and "the Sticky bit" (which restricts delete to only the owner, even if the group or other have write access). Sticky is why your text turned blue. if you reset the permissions with:
chmod 0760 path/to/target
it will turn off setUID, setGID, and Sticky. if you still want to change it to 770, use chmod 0770 path/to/target
.
See more about these special permissions here: https://en.wikipedia.org/wiki/Setuid
They can be very useful. I use SetGID and Sticky on multi-user shared folders all the time.
Shouldn't he use
chmod 0770
to get back to what he originally wanted? – DavidPostill – 2015-06-17T15:55:29.397good point, op did say they fatfingered it. – Frank Thomas – 2015-06-17T15:58:17.673