Fastening devices with bolts moving rectilinearly