Two brass brackets may look like a pair even when one socket is slightly shallower than the other. Cut the tube to the wrong length and it can rattle, slip free, or keep the second bracket from seating. Fit the pieces together on the bench first. Use that assembly to decide where to drill.
Check the sockets and mounting hardware
Match the cross section first. A round tube needs sockets that fit its actual outside diameter, and a square rail needs sockets that match its shape. Check both ends of the tube for dents and check each bracket for a crack, a bent arm or a loose socket. Test the tube in each bracket, since similar looking parts can have different openings.
Turn the brackets over and look for mounting plates and set screws. A decorative post with a missing mounting plate may need the correct replacement part before you can use it. Test the set screws by hand and keep the original pieces together.
Use the socket depths to find the cut length
Choose roughly where the bar should fit, leaving room to spread a damp towel out. Set the brackets on a flat board with the sockets facing each other. Measure the clear gap between the two socket mouths, then measure the usable insertion depth on each side. If the socket bottoms stop the rail, the gap plus those two depths gives the maximum length for that bracket spacing.
For example, an 18 inch gap and a usable depth of ⅜ inch at each end give a maximum of 18¾ inches. Allow only the small amount of clearance your fittings need for assembly. Check that the ends stay captured and can still reach any set screw seats. If both sockets trap the rail, plan to assemble with one bracket off the wall.
Cut the tube square and smooth the rim
Mark the length around the tube with a strip of paper wrapped square to its axis. Clamp the tube with soft pads and light pressure. Use a fine tooth hacksaw in a guide or a tubing cutter rated for the diameter, material and wall thickness. Tighten a tubing cutter in small steps to avoid crushing thin brass.
Wear eye protection and support the offcut. Remove burrs inside and outside with a suitable deburring tool or a fine file. Wipe away the filings and slip the end into a socket again. The edge should seat cleanly without catching.
Dry fit the bar and mark the mounting plates
Insert the rail into both brackets on a flat surface. Check that each base sits flat and that the two sockets hold the tube on the same axis. Press gently toward either end. If it slides until one end barely sits in its socket, correct the span or use a better fitting rail before marking the wall.
Measure between the actual mounting plate centers with the assembly in place. Transfer those positions with a level. Hold a towel at that height and check that it clears the vanity, wall and any door that swings past the bar.
Fasten the brackets to suitable backing
Check what is behind the planned holes and keep clear of pipes, wires and waterproofed areas. Use screws in sound framing or backing where available. For a wall without backing, use fasteners rated for the actual wall and the expected load. On tile, use the bit and technique specified for the tile and the fastening system. Ask a qualified installer if you cannot confirm a suitable location.
If the ends are captive, fit the rail into the first bracket and seat the second bracket onto the other end before securing it. If the brackets clip onto separate mounting plates, install both plates first and follow the bracket maker’s assembly order. Tighten the set screws evenly without forcing the threads.
Check for movement with a damp towel
Hang a single damp towel and take it off normally. Watch for movement where the brackets meet the wall and where the rail enters the sockets. If a bracket shifts, unload the bar and check the wall fastener. If the rail moves while both brackets stay still, check the socket fit and any rail set screws.
Use the finished bar for towels only. Wipe it dry after cleaning. Start with a soft cloth and mild soap on a spot you rarely see, since polish can remove patina or damage an old lacquer finish.