How to setup IIS on Failover Cluster with Shared Data
The NTFS/SMB permissions for shared IIS storage are detailed described in ms guide: https://docs.microsoft.com/en-us/iis/web-hosting/configuring-servers-in-the-windows-web-platform/configuring-share-and-ntfs-permissions
If you have some webapp/scripts, which should write data in folder on file server, then you should configure appropriate permissions for this folder.
The web-farm configuration is better to store on shared drive. Here is a link:
https://docs.microsoft.com/ru-ru/iis/web-hosting/configuring-servers-in-the-windows-web-platform/shared-configuration_211
Regarding the non-content data (logs, cache sessions, etc), you won’t get a big advantage storing them on share. So it’s up to you.