When you perform chmod 755 filename command you allow everyone to read and execute the file, the owner is allowed to write to the file as well . So, there should be no permission to everyone else other than the owner to write to the file, 755 permission is required.