I went to replace a light in my hallway and there is no ground wire. There’s a red wire connected to the black wires from the light and a white wire. I noticed a bunch of black wires taped with electrical tape. I tested the red and white wire then the red with the box to test if the box itself was grounded- it’s not. The red and white produced the same charge over and over but with the red and the box touching, nothing happened. I wanted to replace this with a new LED fixture but don’t want to cause any issues without a proper ground. No cable was wrapped to the screw on the loose metal piece in the picture which I understand is used for grounding with modern lights. Thank you!!
The group of black wires are just feeds to other outlets, switches on the same circuit. The old 50's wiring didn't include grounds so you don't have a ground up there. That's why there was no ground wire attached to the screw on the fixture bracket. Ignore the ground wire on the new fixture and just tape it up or cap it with a wire nut. Hook your black wire from the fixture to the red wire and your white wires from the fixture to the white wire. The groups of wires are probably clamped or soldered and taped so I wouldn't mess with them unless you see that they're lose and want to redo them with wire nuts.