A device for fastening an elongated object to a rib-shaped support, in which - an approximately U-shaped bracket made of mechanically stable material is used, which has a substantially rectilinear base part and two legs (3, 4) projecting from the same at a distance from each other in the same direction, in which - the elongated object can be fastened in the mounting position to the base part of the bracket and in which the legs (3, 4) of the bracket can be positioned in the mounting position on two sides of the support opposite from one another, in which - on the free ends of the two legs (3, 4) of the bracket in each case a plate (8, 9) pivotable about a rotational point (12, 13) is arranged, which both extend in the rest position approximately at right angles to the direction of the legs (3, 4) and are connected to each other by a bendable connecting element, - the two plates (8, 9) when the bracket is pushed onto the support can be pivoted by the same about their rotational points (12, 13) in such a manner that in an end position they each abut on a side of the support against the same, - to each plate (8, 9) a projection (15, 16) projecting from the same is attached, which points in the mounting position away from the support, - each projection (15, 16) has a an obliquely extending bearing surface, on which during the mounting of the bracket in each case a leg (3, 4) of the same rests with its end face, - the projections (15, 16) of the plates (8, 9) in the mounting position engage in recesses (20, 21), which are attached to the inner sides of the legs (3, 4) of the bracket, characterized in that the surfaces of the two plates (8, 9) intended for bearing on the support are coated with an adhesive agent, which is covered in the rest position of the bracket by a film. - an approximately U-shaped bracket made of mechanically stable material is used, which has a substantially rectilinear base part and two legs (3, 4) projecting from the same at a distance from each other in the same direction, in which - the elongated object can be fastened in the mounting position to the base part of the bracket and in which the legs (3, 4) of the bracket can be positioned in the mounting position on two sides of the support opposite from one another, in which - on the free ends of the two legs (3, 4) of the bracket in each case a plate (8, 9) pivotable about a rotational point (12, 13) is arranged, which both extend in the rest position approximately at right angles to the direction of the legs (3, 4) and are connected to each other by a bendable connecting element, - the two plates (8, 9) when the bracket is pushed onto the support can be pivoted by the same about their rotational points (12, 13) in such a manner that in an end position they each abut on a side of the support against the same, - to each plate (8, 9) a projection (15, 16) projecting from the same is attached, which points in the mounting position away from the support, - each projection (15, 16) has a an obliquely extending bearing surface, on which during the mounting of the bracket in each case a leg (3, 4) of the same rests with its end face, - the projections (15, 16) of the plates (8, 9) in the mounting position engage in recesses (20, 21), which are attached to the inner sides of the legs (3, 4) of the bracket, characterized in that the surfaces of the two plates (8, 9) intended for bearing on the support are coated with an adhesive agent, which is covered in the rest position of the bracket by a film.