Consider the mass M in the frame of the rotating drum. The forces acting on the mass are:
Weight Mg acting vertically downwards.
Normal reaction N from the wall acting towards the center, which provides the centripetal force: N=Mω2R.
Frictional force f acting vertically upwards to balance the weight.
For the mass to remain stuck to the wall, the frictional force must balance the weight: f=Mg.
The maximum available static friction is fmax=μN=μMω2R.
To prevent slipping, we must have fmax≥Mg.
μMω2R≥Mg
ω2≥μRg
ω≥μRg
The minimum value of ω is μRg.
