Error Opening Image File in Terminal Much like: How do I cat a deleted file which is still open by its inode?.

I am using 'Sleuth Kit' command line tool, to gather relevant data from the disk. But I keep on getting:

Error opening image file (raw_open: file "/dev/rdisk1s2" - Permission denied)

This is so, whether or not I included r. How can I solve this problem?
In order to access a raw disk device /dev/rdisk1s2, it should not be mounted. Open Disk Utility and unmount it first. Otherwise you would get a Permission denied error when you try to access it as a raw device.

If you wish to (or need to) have it mounted and use the block device, remove the "r" from the disk name, making it /dev/disk1s2 (notice the missing "r" before "disk1s2").