I think you can see how this shaggy little fungus got one of its common names, Lawyer’s wig, as it so well resembles the wigs lawyers wear in court. This is Coprinus comatus, also, not surprisingly, known as the Shaggy inkcap. Coprinus means ‘living on dung’ but this fungus really just prefers very rich soil with lots of decaying plant matter. These are usually found in groups of up to 20 individuals, and I found this little group of five along the edge of a woodland path, a fairly typical habitat.
Edit: My fungi friend Graham very kindly pointed out that I had mis-identified my initial find but, luckily, I saw some real Shaggy inkcaps today, so I have changed the photos above to show those.
The confusion species, which my initial photos (below) showed, was actually the Hare’s-foot inkcap (Coprinopsis lagopus). Perhaps you can see why I was confused by all that shagginess!